Docs / Tickets / Commandes / /tickets search
Moderation Server only

/tickets search

Search tickets by keyword or number

Usage

Generated
/tickets search <query>
OptionTypeObligatoireDescription
query text Oui Title keyword or ticket number

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

Comportement

Checked against the code 2026-09-21

Finds tickets in this server by a word from the title or by ticket number, and shows a short private list.

The bot first applies the server's Command Access rules for /tickets search, checks that Tickets is enabled ("❌ Tickets is not enabled for this server."), and requires the Manage Server permission: "You need Manage Server permission."

The query option matches any ticket whose title contains the text, ignoring case, or whose number equals it (a leading # is ignored). Results come most recent activity first. The bot looks up 10 matches and shows the first 8 in an embed titled "🔍 Search: <query>" with "Found N results". Each entry shows the ticket number and title, a status icon (🟢 open, 🟣 claimed, ⛔ closed), the status word, the priority and the ticket's ID. The footer reads "Use the dashboard for full search + filters". With no matches: "No tickets found matching <query>."

Good to know

  • Closed tickets are included in the results.
  • The dashboard Queue page searches and filters by status, priority, assignee, team, category and date.
YourBot docs Reference tables are generated from the code that is running. Ask in Discord Suggest a correction