Skip to content

Commands

Sayrix edited this page Apr 29, 2026 · 3 revisions

Ticket-Bot deploys slash commands to the configured guildId on startup.

Most ticket-management commands only work inside a ticket channel.

/claim

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.

/unclaim

Releases the current user's claim.

Requirements:

  • Claiming must be enabled.
  • allowUnclaim must be true.
  • The command must be used in an open ticket channel.
  • The user must be the current claimer.

/close

Closes the current ticket.

Behavior depends on config:

  • staffOnly controls whether only staff can close.
  • askForReason controls whether a modal asks for a reason.
  • claims.mode: "strict" requires the ticket to be claimed and closed by the current claimer.
  • deleteChannelOnClose controls whether the channel is deleted or kept.
  • createTranscript controls ticket.pm transcript generation.

/add user:<user>

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.

/mass_add users:<ids-or-mentions>

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.

/remove user:<user>

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.

/rename name:<name>

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.

/cleardm

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.

Buttons and Selects

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.

Clone this wiki locally