Ticket Management

Commands for the ticket lifecycle: closing, reopening, claiming, access control, and renaming

These commands run inside a ticket channel and control what happens to that ticket. They are available on every plan. Unless a command says otherwise, the ticket creator and staff can both use it; staff means anyone holding one of the staff roles selected in the dashboard.

Every command on this page must be run inside a ticket channel (/add and /remove can also target a ticket by ID from anywhere in the server). Running one elsewhere returns TC017.

/close

Close the current ticket.

/close [reason] [in] [silent]
OptionTypeRequiredAllowed valuesDefault
reasonTextNoUp to 1000 charactersnone
inTextNoA delay such as 30m, 2h, or 1d (up to 32 characters). ModMail tickets onlyclose now
silentBooleanNoTrue or FalseFalse (the creator is notified)

Who can run it: the ticket creator, staff, server administrators, and the bot owner.

  • If Staff-only close is enabled in the dashboard, the creator cannot close their own ticket unless they are also staff or an administrator (TC002).
  • in and silent cannot be combined (TC018).
  • in only works in ModMail tickets (TC017). Any new message from the customer or staff cancels the scheduled close.

What happens, in order:

  1. Unless Skip Close Confirmation is enabled, you see a confirmation card showing the ticket number, the reason, and whether silent mode is on. Confirm to continue.
  2. The ticket is marked closed and the creator loses the ability to send messages.
  3. The channel is renamed from ticket-XXXX to closed-XXXX and moved to the closed tickets category (or deleted straight away if auto-delete is enabled).
  4. The creator receives a DM with the close notice, unless silent:True was used.
  5. A transcript is generated and posted to the transcript channel if transcripts are enabled, the ticket log channel receives an entry, and any configured webhooks fire.

Examples

/close reason:Issue resolved
/close silent:True
/close in:2h reason:Closing if we hear nothing more

Errors you can see

CodeWhen
TC002You are not the creator, staff, an administrator, or the bot owner; or staff-only close is enabled and you are the creator
TC015The ticket is already closed
TC017The channel is not a ticket, or in was used outside a ModMail ticket
TC012The in delay is not a valid format like 30m, 2h, or 1d
TC018in and silent were combined

/reopen

Reopen a closed ticket. Has no options.

/reopen

Who can run it: the ticket creator or staff. ModMail tickets cannot be reopened this way; continue the conversation in the ModMail channel instead.

What happens:

  1. The ticket status returns to open.
  2. The channel is renamed from closed-XXXX back to ticket-XXXX and moved to the open tickets category.
  3. The creator regains permission to send messages.

Reopening keeps the full conversation history. Nothing is deleted when a ticket is closed and reopened.

Errors you can see

CodeWhen
TC002You are not the creator or staff
TC015The ticket is already open
TC017The channel is not a ticket, or the ticket is a ModMail ticket
TC005Discord refused to rename or move the channel; try again

/claim

Claim the current ticket so other staff can see who is handling it. Has no options.

/claim

Who can run it: staff only. You cannot claim a ticket you created yourself.

What happens:

  1. Your name is recorded as the handler and a claim card is posted in the channel.
  2. The ticket shows as claimed in the dashboard and in /claims.
  3. If exclusive claims are enabled for the server, other staff lose access to the channel until it is unclaimed; the confirmation tells you when this applies.

A ticket can only be claimed by one staff member at a time. Use /unclaim to release it first.

Errors you can see

CodeWhen
TC002You are not staff
TC015The ticket is already claimed (by you or someone else), you are the ticket creator, or the ticket is closed
TC017The channel is not a ticket

/unclaim

Release the claim on the current ticket. Has no options.

/unclaim

Who can run it: the staff member who claimed it, or any other staff member.

What happens: the claim is removed, the channel shows an unclaimed notice, and if exclusive claims were in effect the other staff members regain access.

Errors you can see

CodeWhen
TC002You are neither the claimer nor staff
TC015The ticket is not claimed, or it is closed
TC017The channel is not a ticket

/add

Give a user or a role access to a ticket.

/add [user] [role] [ticket]
OptionTypeRequiredNotes
userUser (autocomplete)NoThe member to add
roleRoleNoThe role to add
ticketTicket (autocomplete)NoThe ticket to add them to. Defaults to the current channel when run inside a ticket

Provide exactly one of user or role.

Who can run it: the ticket creator or staff.

What happens: the user or role receives view and send permissions on the ticket channel, and a notice is posted in the channel.

Rules

  • Bots and the @everyone role cannot be added.
  • Users or roles cannot be added to a closed ticket.
  • Roles cannot be added to thread-style tickets; add individual users instead.

Examples

/add user:@JohnDoe
/add role:@Billing Team
/add user:@JohnDoe ticket:0042

Errors you can see

CodeWhen
TC012Neither or both of user and role were given, or you tried to add a bot or @everyone
TC002You are not the creator or staff
TC004The user, role, or ticket was not found
TC015The ticket is closed, or the target already has access
TC017Run outside a ticket channel without the ticket option
TC018A role was added to a thread ticket

/remove

Remove a user or a role from a ticket.

/remove [user] [role] [ticket]
OptionTypeRequiredNotes
userUser (autocomplete)NoThe member to remove
roleRoleNoThe role to remove
ticketTicket (autocomplete)NoThe ticket to remove them from. Defaults to the current channel when run inside a ticket

Provide exactly one of user or role.

Who can run it: the ticket creator or staff.

What happens: the user or role loses view and send permissions on the channel, and a notice is posted.

Rules

  • Staff members cannot be removed; staff always keep access to every ticket.
  • Members holding a supervisor role (configured in the dashboard) cannot be removed.
  • The @everyone role cannot be removed.
  • Removing the ticket creator asks for a second confirmation.

Errors you can see

CodeWhen
TC012Neither or both of user and role were given, or @everyone was targeted
TC002You are not the creator or staff, or the target is staff or a supervisor
TC004The user, role, or ticket was not found, or the target does not have access to this ticket
TC015The ticket is closed
TC017Run outside a ticket channel without the ticket option

/rename

Rename the current ticket channel while keeping its number.

/rename <name>
OptionTypeRequiredAllowed values
nameTextYesUp to 80 characters. Converted to lowercase; anything other than letters, digits, and hyphens is removed

Who can run it: the ticket creator or staff.

What happens: the channel becomes name-XXXX, where XXXX is the original ticket number.

Examples

/rename billing-issue
/rename vip-support

Discord allows only two channel renames per channel every 10 minutes. A third rename within that window waits until the limit resets (TC001).

Errors you can see

CodeWhen
TC012The name is empty, longer than 80 characters, or has no valid characters left after cleanup
TC002You are not the creator or staff, or the bot lacks Manage Threads for a thread ticket
TC015The ticket is closed
TC017The channel is not a ticket

/closerequest

Ask the ticket creator to confirm their issue is resolved and close the ticket themselves.

/closerequest [reason]
OptionTypeRequiredAllowed values
reasonTextNoUp to 1000 characters

Who can run it: staff only.

What happens:

  1. A card is posted in the ticket asking the creator whether the issue is resolved, with your reason if you gave one.
  2. Only the creator can answer. They can close the ticket or keep it open.
  3. If they close it, the normal close flow runs (rename, move, transcript, DM).

Example

/closerequest reason:Your issue looks resolved. Please confirm.

Errors you can see

CodeWhen
TC002You are not staff, or a non-creator pressed the answer buttons
TC015The ticket is already closed or not in the open state
TC017The channel is not a ticket

Common questions

Why can't I close my own ticket? The server has Staff-only close enabled. Ask a staff member to close it, or wait for them to send a close request you can accept.

I closed a ticket by mistake. Can I get it back? Yes. Run /reopen in the closed channel. If auto-delete is enabled and the channel is already gone, the ticket cannot be reopened, but its transcript is still in the transcript channel if transcripts were enabled.

Does /close silent:True skip the transcript? No. Silent only skips the DM to the creator. Transcripts, logs, and webhooks run as usual.

Can I close a ticket automatically after some time? For ModMail tickets, /close in:2h schedules a close that any new activity cancels. For regular tickets, use auto-close in the dashboard or /auto-close, which closes tickets after a period of inactivity.

Why can't I add a role to this ticket? Thread-style tickets cannot hold role permissions. Add the individual members instead.

Why does /claim say I cannot claim my own ticket? Claims are for staff handling someone else's request. If you opened the ticket, another staff member needs to claim it.

I renamed the channel but the name looks different from what I typed. Discord channel names are lowercase and allow only letters, digits, and hyphens. Spaces and other characters are removed, and the ticket number is appended automatically.

Last updated on

On this page