Docs / Tickets / Commands / /tickets setup
Admin Server only

/tickets setup

Auto-create Discord channels for a ticket panel

Usage

Generated
/tickets setup <panel_id>
OptionTypeRequiredDescription
panel_id whole number
suggests
Yes Which panel to set up (pick from the list)

Who can run it

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

The presets keep it for server managers. 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-09-21

Creates the Discord channels a panel needs and posts the panel, in one step. Use it after building a panel on the dashboard's Panels page.

The bot first applies the server's Command Access rules for /tickets setup and checks that Tickets is enabled ("❌ Tickets is not enabled for this server."). Every reply is private. The panel must belong to this server ("❌ Panel not found on this server.") and you need the Manage Server permission ("❌ You need Manage Server permission."). Pick the panel from the panel_id list, shown as "<name> · #<number>".

What it creates, in order:

  1. A category for the panel's tickets. When the panel already has an open tickets category, that one is reused ("✅ Using existing category <name>"). Otherwise a new category named "🎫 <panel name>" is created and set as the panel's open tickets category. Without the Manage Channels permission the command stops here: "❌ Missing Manage Channels bot permission to create a category."
  2. A text channel named "<panel slug>-tickets" inside that category, where everyone can view but not send and the bot can post. Its topic reads "Open a <panel name> ticket using the button below."
  3. The panel's embed and buttons, posted into that channel. The panel remembers the message so its buttons keep working.

The reply is an embed titled with the panel name, listing each step with a ✅ and any failed step with a ⚠️, plus the category and the panel channel. Its footer reads "You can adjust channel permissions and the dashboard panel settings anytime."

Good to know

  • It does not create a closed tickets category, a ticket log channel or a staff team. Set those on the Panels, Settings and Teams pages, or run "Run auto-setup" from the dashboard Overview page, which creates all of them.
  • /tickets panel posts a panel into a channel you already have.
  • Running it again on the same panel reuses the category but creates another panel channel.
YourBot docs Reference tables are generated from the code that is running. Ask in Discord Suggest a correction