Docs / Tickets / Commands / /tickets leaderboard
Moderation Server only

/tickets leaderboard

Staff ranked by the tickets they closed

Usage

Generated
/tickets leaderboard [period]
OptionTypeRequiredDescription
period whole number No How many days to count (7 when left out)
7 days30 days90 days

Who can run it

Generated
Discord defaultEvery member
Command Access presetModerator roles
Always allowedThe server owner and, by default, Administrators
Change itDashboard, Services, Tickets, Commands

The Moderation preset limits it to the roles you mark as moderators. Server owners and Administrators can always run it. How Command Access works.

What the bot needs

Generated

Tickets is granted these permissions by the invite link. A command that finds one missing replies privately with what it could not do and changes nothing.

Manage ChannelsView ChannelSend MessagesEmbed LinksRead Message HistoryManage RolesManage ThreadsCreate Private ThreadsSend Messages in Threads

Behaviour

Checked against the code 2026-10-07

Ranks up to 10 staff members by the tickets they closed in the last 7, 30 or 90 days, in a private reply.

The bot first applies the server's Command Access rules for /tickets leaderboard and checks that Tickets is enabled ("❌ Tickets is not enabled for this server."). Only staff can use it: members with Manage Server and members of one of the server's ticket teams (added by name or by role). Anyone else gets a private refusal.

The period option offers 7 days, 30 days and 90 days. Left out, it counts the last 7 days. Each line names the staff member and shows how many tickets they closed in the period, the median wait for a first reply on those tickets and the average rating members gave them. Members are named by mention, which never pings anyone.

A ticket counts for the staff member who closed it. When the member or the bot closed it, it counts for the staff member who had claimed it. A member closing their own ticket never counts for staff.

Good to know

  • With nobody to show, the reply says "Nobody on staff closed a ticket in this period."
  • History, then Insights on the dashboard has the full team table for managers.
YourBot docs Reference tables are generated from the code that is running. Ask in Discord Suggest a correction