Tickets
People ask for help, staff pick it up, and a transcript is kept.
Module: tickets. Off until a server admin runs /moduleadmin enable module: Tickets guild_id: <this server's ID>. See Modules.
Setting up a full ticket system, start to finish
This is everything, in order. Skipping a step just means the next one tells you what's missing.
Turn the module on
Server admins only (the server's admin_role or the Discord Administrator
permission). Use the ID of the server you are standing in:
/moduleadmin enable module: Tickets guild_id: <your server ID>
Pick the category tickets open into
Ticket channels are created inside a Discord category. Make one (e.g. Tickets), then point the bot at it:
/config set key: ticket_category value: #your-category
Without this, opening a ticket fails with "Ticket category not configured."
Set the log channel
Every open, close, claim, and transcript gets posted here:
/ticketadmin logs channel: #ticket-logs
A ticket type can have a log channel of its own, for tickets that only some staff should read
back (an appeal, a report about a person). /ticketadmin type setlog picks the channel, and
that type's entries (opened with the first form answers, claimed, closed, reopened, deleted),
transcripts and ratings go there and nowhere else. If that channel is deleted
later, nothing is posted. Chancery does not fall back to the wider shared channel. /ticketadmin type clearlog puts the type back on the server's log.
Decide your ticket types
Out of the box, before you configure anything, four built-in types exist: Support, Appeal, Application, Miscellaneous. If that's enough, skip to step 6. Otherwise, create your own. The moment you create even one custom type, the built-ins stop being offered and only your types are used.
/ticketadmin type create
Opens a form: type key (lowercase, no spaces. E.g. report), display label,
short description (shown in the dropdown), an emoji, and an intro message
shown when the ticket opens.
Manage types with:
| Command | What it does |
|---|---|
/ticketadmin type create | New type (opens a form) |
/ticketadmin type edit <type_key> | Edit an existing type (same form, pre-filled) |
/ticketadmin type delete <type_key> | Delete a type |
/ticketadmin type toggle <type_key> <enabled> | Hide a type from panels without deleting it |
/ticketadmin type reorder <type_key> <position> | Change dropdown order (1 = first) |
/ticketadmin type list | See every configured type |
/ticketadmin type setcategory <type_key> <category> | Send this one type's tickets to a different category than the server default |
/ticketadmin type clearcategory <type_key> | Undo that override |
/ticketadmin type setlog <type_key> <channel> | Send everything logged about this one type's tickets to their own log channel |
/ticketadmin type clearlog <type_key> | Undo that override |
Add a form, if you want one (optional)
Up to 5 fields per type. When a type has fields, opening that ticket pops a form instead of creating the channel immediately, and the answers get posted into the ticket.
/ticketadmin form add type_key: report
Opens a form for the form field itself: label, placeholder text, style
(short or paragraph), whether it's required, and max length (up to 1000).
| Command | What it does |
|---|---|
/ticketadmin form add <type_key> | Add a field (max 5) |
/ticketadmin form list <type_key> | See the fields, in order |
/ticketadmin form remove <type_key> <field_number> | Remove by number, from form list |
Assign who handles each type (optional but recommended)
Without this, tickets fall back to your server's staff_role and
admin_role (set with /config set). To pick roles for one type:
/ticketadmin staffrole set type_key: report role: @Moderators level: handler
A role you set here controls who can see and write in the ticket channels for
that type. @everyone cannot be used here, because that would open every ticket to the
whole server. The role does not let anyone claim a ticket, close an unclaimed one, or
run the /ticket staff commands. Those need the server's staff_role or
admin_role, or the Discord Administrator permission.
Three levels:
| Level | Can do |
|---|---|
| Viewer | Read only. No sending, no reactions. |
| Handler | Read and send. |
| Senior | Read and send, the same as Handler for now. The person who claims a ticket gets full control automatically. |
| Command | What it does |
|---|---|
/ticketadmin staffrole set <type_key> <role> <level> | Assign a role |
/ticketadmin staffrole remove <type_key> <role> | Unassign |
/ticketadmin staffrole list <type_key> | See assignments for one type |
Post the panel
The panel is the dropdown people actually click to open a ticket.
/ticket panel post
Opens a form: title, description (markdown works. Bold, bullets), which ticket types to include (comma-separated keys, blank = all enabled), accent colour (hex, blank = blue), and an optional image URL. Posts immediately in whatever channel you ran the command in.
Use save instead of post if this is a panel you'll want to bring back
later:
/ticket panel save name: general
Same form, but it also remembers the panel under that name. If the panel message is ever deleted, by accident or in a purge, you can bring it back without rebuilding it:
/ticket panel load name: general
| Command | What it does |
|---|---|
/ticket panel post | Post a panel, don't save it |
/ticket panel save <name> | Post a panel and remember it |
/ticket panel load <name> | Repost a saved panel |
/ticket panel list | See saved presets |
/ticket panel delete <name> | Forget a saved preset |
That's a full system: module on, category set, log channel set, types defined, forms attached where you want them, roles assigned, panel live.
Optional: unclaim appeals
If a claimer goes quiet and someone else wants to take the ticket over, staff can vote to force an unclaim. Two approvals revoke the claim. A single Deny ends the appeal, and the claimer keeps the ticket. The vote needs its own channel:
/config set key: ticket_vote_channel value: #staff-votes
Set who is allowed to vote. If you skip this, the bot uses your admin_role:
/config set key: ticket_inner_circle_role value: @Manager
If neither ticket_inner_circle_role nor admin_role is set, only server
administrators can vote. Set one of them so your managers can.
The ⚠️ Appeal button appears on claimed tickets. Staff other than the current claimer can press it to start a vote.
Using it, day to day
Opening a ticket
Members click the dropdown on the panel. If the type has a form, it pops up first; otherwise the ticket opens immediately. A panel only works while the server holds its access key and the tickets module is on. A server can open twenty tickets a minute through its panels, and one member can open three of their own a minute. Past that the member is asked to try again shortly, which stops a raid from opening a ticket of every type. Staff opening one for someone else do not count toward it.
Staff can open one on someone's behalf:
/ticket open member: @someone ticket_type: report
Claiming
The 🤝 Claim button on the ticket's control message. Whoever claims gets full control (send, manage messages, manage the channel). Claiming is what tells everyone else it's being handled. There's no other signal.
Claiming rewrites the control message to show who took it. Everything else on that message stays: the intro, who it was opened for, and the answers they gave when they filled the form in. You do not have to scroll back for them.
Only staff can claim: you need the server's staff_role or admin_role, or
the Discord Administrator permission. A role from /ticketadmin staffrole set
is not enough on its own (see step 6).
Only one claimer at a time. 🔓 Unclaim on the control message gives it up (only the claimer can do this themself; anyone else has to go through the appeal vote above).
Working the ticket
| Command | Who | What it does |
|---|---|---|
/ticket add <member> | Staff | Bring someone in (handler perms) |
/ticket remove <member> | Staff | Take someone out |
/ticket coclaim <member> <add|remove> | Claimer only | A co-claimer, max 2: can send and manage messages in the ticket, close it and delete it |
/ticket note <content> [attachment_url] | Staff | A note saved in the transcript and posted to the private staff thread. The attachment is a link, not an upload |
/ticket rename <name> | Claimer or co-claimer (or staff, if unclaimed) | Rename the channel |
/ticket perms <target> <level> | Claimer (or admin) | Set a specific user or role to viewer / handler / co-claimer / none. It refuses @everyone, because that would open the ticket to the whole server |
/ticket transcript | Anyone in the ticket | Generate the HTML transcript right now, without closing. Staff notes are in it only for staff, the claimer and co-claimers. The opener's copy leaves them out |
/ticket list [status] | Staff | The 25 most recent tickets: open (the default), closed, or all |
Every ticket also gets a private staff thread, invisible to the ticket
opener, for coordinating without cluttering the ticket itself. Members of the
roles you set in step 6 join it automatically. /ticket note posts there too.
Notes are for staff. They are in the transcript that goes to the log channel when a ticket
closes, and in a transcript generated by staff, the claimer, a co-claimer, or a role set as
staff on the type above viewer level. A transcript made by the opener, by someone added with
/ticket add, or by a viewer-level role has no notes in it and no note count.
Closing
🔒 Close on the control message. On a claimed ticket, only the claimer or a co-claimer can close it. On an unclaimed ticket, any staff member can. Closing does this:
- Revokes the opener's access to the channel (they can no longer see it)
- Posts a transcript to the log channel automatically
- DMs the opener a star rating request (1–5 stars, plus an optional comment, or they can skip it)
- Leaves 🔓 Reopen, 📄 Transcript, and 🗑️ Delete buttons behind. Staff can reopen. Delete follows the same rule as Close: the claimer or a co-claimer on a claimed ticket, any staff member on an unclaimed one
If the opener never responds to the rating DM within 48 hours, that's logged too, as "no feedback" rather than silently dropped.
It's not working
When you are stuck
"Ticket category not configured."
Run /config set key: ticket_category value: #your-category. See step 2 above.
"Ticket category is invalid."
The category saved as ticket_category (or the category set for that type) no
longer exists as a Discord category. It may have been deleted, or you may have
picked a channel instead of a category. Run
/config set key: ticket_category value: #your-category again with a real
category. For a single type, use /ticketadmin type setcategory to pick a new
one or /ticketadmin type clearcategory to drop the override.
"Ticket type not found."
The panel is older than the last time ticket types changed. Its dropdown
still lists a type that no longer exists. Repost it with /ticket panel load
if it was saved, or /ticket panel post for a fresh one.
"Staff only." when you press Claim or run a /ticket command
Claiming, closing an unclaimed ticket, adding notes and most /ticket
commands need the server's staff_role or admin_role, or the Discord
Administrator permission. A role from /ticketadmin staffrole set lets its
members see and write in the ticket, and nothing more. Give the person the
server staff role, or point staff_role at a role they already hold with
/config set.
The ticket channel didn't open
Usually the bot can't create channels in the configured category. Check its permissions there. Second most common: you already have an open ticket of that same type; the bot won't open a second one.
The transcript is empty
Transcripts capture messages the bot could see in that channel. If it was
added to the channel late (e.g. via /ticket add), it only has messages from
that point on.
"No vote channel configured."
The unclaim appeal needs ticket_vote_channel set. See the optional section
above. Without it, there is no way to force an unclaim; the claimer has to do
it themselves.