-
-
Notifications
You must be signed in to change notification settings - Fork 280
Commands
Ticket-Bot deploys slash commands to the configured guildId on startup.
Most ticket-management commands only work inside a ticket channel.
Claims the current ticket.
Requirements:
- Claiming must be enabled.
- The command must be used in an open ticket channel.
- The user must have a configured staff role for that ticket type.
If the ticket is already claimed, takeover rules decide whether the user can reassign it.
Releases the current user's claim.
Requirements:
- Claiming must be enabled.
-
allowUnclaimmust be true. - The command must be used in an open ticket channel.
- The user must be the current claimer.
Closes the current ticket.
Behavior depends on config:
-
staffOnlycontrols whether only staff can close. -
askForReasoncontrols whether a modal asks for a reason. -
claims.mode: "strict"requires the ticket to be claimed and closed by the current claimer. -
deleteChannelOnClosecontrols whether the channel is deleted or kept. -
createTranscriptcontrols ticket.pm transcript generation.
Adds one user to the current ticket.
The user receives channel access and is stored as an invited ticket participant. Ticket-Bot avoids adding:
- The ticket opener.
- Users already invited.
- Users beyond the invite limit.
Adds multiple users to the current ticket.
The users option accepts comma-separated user IDs or mentions:
123456789012345678, <@234567890123456789>, 345678901234567890
The bot reports how many users were added, skipped, invalid, or blocked by the invite limit.
Removes an invited user from the current ticket.
If user is omitted, the bot shows a select menu with invited users to remove.
This only removes users invited through /add or /mass_add. It does not remove ticket staff or the original ticket opener through the command.
Renames the current ticket channel.
Requirements:
- The command must be used in an open ticket channel.
- The user must have ticket staff access.
The requested name is sanitized before Discord receives it.
Deletes the bot's previous ticket DM messages from the command user's DM channel.
This is useful when users receive many ticket-close DMs and want to clean up old bot messages.
The same workflows can also happen through components:
- Panel select or panel buttons open tickets.
- Ticket welcome buttons can claim, unclaim, and close.
- Closed ticket summaries can include a delete button.