Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Commands Reference

Rustmail provides both slash commands and text commands. Text commands use a configurable prefix (default: !).


Command Types

TypeExampleDescription
Slash/reply helloDiscord’s native slash commands with autocomplete
Text!reply helloTraditional prefix-based commands

Both types offer identical functionality. Slash commands provide better discoverability and parameter hints, while text commands may be faster for experienced users.


General Commands

help

Display available commands.

SlashText
/help!help

ping

Check bot responsiveness.

SlashText
/ping!ping

Ticket Management

new_thread

Create a new ticket for a user. Use when you need to initiate contact.

SlashText
/new_thread <user>!new_thread <user_id>

Parameters:

  • user - The Discord user to create a ticket for

close

Close the current ticket.

SlashText
/close [time] [silent] [cancel]!close [time] [-s|--silent] [-c|--cancel]

Parameters:

  • time - Schedule closure after duration (e.g., 1h, 30m, 2d)
  • silent - Close without notifying the user
  • cancel - Cancel a scheduled closure

Examples:

/close                    # Close immediately
/close time:2h            # Close in 2 hours
/close silent:true        # Close without notification
/close cancel:true        # Cancel scheduled closure

!close                    # Close immediately
!close 2h                 # Close in 2 hours
!close -s                 # Close silently
!close cancel             # Cancel scheduled closure

force_close

Close an orphaned ticket when the user has left the server.

SlashText
/force_close!force_close

move_thread

Move a ticket to a different category.

SlashText
/move_thread <category>!move_thread <category_name>

Parameters:

  • category - Target category name

recover

Manually trigger message recovery. Rustmail automatically recovers messages sent while the bot was offline, but you can force a recovery check with this command.

SlashText
/recover!recover

Messaging

reply

Send a message to the ticket user.

SlashText
/reply <content> [attachment] [anonymous]!reply <content>

Parameters:

  • content - Message text
  • attachment - Optional file attachment
  • anonymous - Send without revealing staff identity

For text commands, attach files using Discord’s upload feature. For anonymous replies, use !anonreply.

anonreply

Send an anonymous reply (text command only).

Text
!anonreply <content>

Equivalent to /reply anonymous:true.

edit

Edit a previous message you sent.

SlashText
/edit <message_id> <new_content>!edit <message_id> <new_content>

Parameters:

  • message_id - Rustmail message ID (shown in message footer)
  • new_content - Updated message text

delete

Delete a message you sent.

SlashText
/delete <message_id>!delete <message_id>

Parameters:

  • message_id - Rustmail message ID (shown in message footer)

Staff Management

add_staff

Grant a staff member access to the current ticket.

SlashText
/add_staff <user>!add_staff <user_id>

Parameters:

  • user - Staff member to add

remove_staff

Remove a staff member’s access to the current ticket.

SlashText
/remove_staff <user>!remove_staff <user_id>

Parameters:

  • user - Staff member to remove

take

Assign yourself to the ticket (claim ownership).

SlashText
/take!take

release

Release your assignment from the ticket.

SlashText
/release!release

Reminders

add_reminder

Set a reminder for the current ticket.

SlashText
/add_reminder <time> [content]!add_reminder <time> [content]

Parameters:

  • time - When to trigger (e.g., 30m, 2h, 1d)
  • content - Optional reminder message

Examples:

/add_reminder time:1h content:Follow up with user
!add_reminder 1h Follow up with user

remove_reminder

Cancel a scheduled reminder.

SlashText
/remove_reminder <reminder_id>!remove_reminder <reminder_id>

Parameters:

  • reminder_id - ID of the reminder to cancel

Alerts

alert

Get notified when the ticket receives a new message.

SlashText
/alert [cancel]!alert [cancel]

Parameters:

  • cancel - Remove an existing alert

Information

id

Display the ticket user’s Discord ID.

SlashText
/id!id

logs

View ticket history and logs.

SlashText
/logs!logs

status

View or change the bot’s operational status.

SlashText
/status [new_status]!status [new_status]

Snippets

Snippets are saved responses that can be quickly inserted.

snippet

Use a saved snippet.

SlashText
/snippet <key>!snippet <key>

Snippet management is done through the web panel or database directly.


Time Format Reference

For commands accepting time durations:

UnitExampleDescription
s30sSeconds
m15mMinutes
h2hHours
d1dDays

Combinations are supported: 1d12h = 1 day and 12 hours.


Command Permissions

Commands are available to users with access to ticket channels. The bot respects Discord’s permission system:

  • Only staff with channel access can use ticket commands
  • Super admins (configured in config.toml) have full access
  • Additional permissions can be configured through the panel