Commands Reference
Rustmail provides both slash commands and text commands. Text commands use a configurable prefix (default: !).
Command Types
| Type | Example | Description |
|---|---|---|
| Slash | /reply hello | Discord’s native slash commands with autocomplete |
| Text | !reply hello | Traditional 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.
| Slash | Text |
|---|---|
/help | !help |
ping
Check bot responsiveness.
| Slash | Text |
|---|---|
/ping | !ping |
version
Show the Rustmail version currently running, along with a link to the source repository.
| Slash | Text | Context menu |
|---|---|---|
/version | !version / !v | Right-click a user → Apps → version |
New releases are not announced here: when the update check is enabled (see
[updates]), a new version is announced once in the logs channel and
shown as a banner in the web panel.
Ticket Management
category
Manage ticket categories that users can select to direct their requests.
| Slash | Text |
|---|---|
/category <subcommand> | !category <subcommand> |
Subcommands:
create- Create a new categorylist- List all configured categoriesrename- Rename an existing categorymove- Change the position of a categorydelete/remove- Delete a categoryenable/disable- Enable or disable a specific categoryon/off- Enable or disable the entire category selection featuretimeout- Set the time limit (in seconds) users have to select a category before defaulting
new_thread
Create a new ticket for a user. Use when you need to initiate contact.
| Slash | Text |
|---|---|
/new_thread <user> | !new_thread <user_id> |
Parameters:
user- The Discord user to create a ticket for
close
Close the current ticket.
| Slash | Text |
|---|---|
/close [time_before_close] [silent] [cancel] | !close [time] [-s|--silent] [-c|--cancel] |
Aliases: !close, !c
Parameters:
time/time_before_close- Schedule closure after duration (e.g.,1h,30m,2d). An invalid duration is rejected instead of closing immediately.silent- Close without notifying the usercancel- Cancel a scheduled closure (takes precedence over a duration)
Closing immediately while a closure is scheduled is refused: cancel it first, or give a new duration to replace it.
Examples:
/close # Close immediately
/close time_before_close: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.
| Slash | Text |
|---|---|
/force_close | !force_close |
move_thread
Move a ticket to a different category.
| Slash | Text |
|---|---|
/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.
| Slash | Text |
|---|---|
/recover | !recover |
Messaging
reply
Send a message to the ticket user.
| Slash | Text |
|---|---|
/reply [message] [snippet] [attachment] [anonymous] | !reply <message> |
Aliases: !reply, !r
Parameters:
message- Message textsnippet- Key of a snippet to send instead ofmessage(text:!reply {{key}})attachment- Optional file attachmentanonymous- Send without revealing staff identity to the user (staff still see who sent it in the ticket)
A message, a snippet or an attachment is required. 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 <message> |
Aliases: !anonreply, !ar
Equivalent to /reply anonymous:true; accepts snippets (!ar {{key}}) and attachments like !reply.
edit
Edit a previous message you sent.
| Slash | Text |
|---|---|
/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.
| Slash | Text |
|---|---|
/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.
| Slash | Text |
|---|---|
/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.
| Slash | Text |
|---|---|
/remove_staff <user> | !remove_staff <user_id> |
Parameters:
user- Staff member to remove
take
Assign yourself to the ticket (claim ownership).
| Slash | Text |
|---|---|
/take | !take |
release
Release your assignment from the ticket.
| Slash | Text |
|---|---|
/release | !release |
Reminders
remind
Set a reminder for the current ticket. Reminders can target yourself or specific roles.
| Slash | Text |
|---|---|
/remind <time> <content> [roles] | !rem <time> [@roles] [content] |
Parameters:
time- When to trigger in HH:MM format (e.g.,14:30,09:00)content- Reminder messageroles- Optional: roles to ping when the reminder triggers
Examples:
/remind time:14:30 content:Follow up with user
/remind time:09:00 content:Team meeting roles:@dev,@mod
!rem 14:30 Follow up with user
!rem 14:30 @dev @mod Team meeting
!rem 09:00 @support Check ticket status
Notes:
- If the specified time has already passed today, the reminder will be scheduled for tomorrow
- When targeting roles, only members who are subscribed to that role’s reminders will be pinged
- You can use Discord role mentions or
@rolenamesyntax in text commands
remove_reminder
Cancel a scheduled reminder.
| Slash | Text |
|---|---|
/unremind <id> | !unremind <reminder_id> |
Aliases: !unremind, !urem
Parameters:
id/reminder_id- ID of the reminder to cancel (a positive whole number)
reminder_subscription
Manage your role-based reminder subscriptions. By default, you receive pings for all roles you have. Use this to opt out of specific role reminders.
| Slash | Text |
|---|---|
/reminder_subscription <action> <role> | !rem subscribe <role> |
!rem unsubscribe <role> |
Parameters:
action- Eithersubscribeorunsubscriberole- The role to manage subscription for
Requirements:
- You must have the role to modify your subscription for it
Examples:
/reminder_subscription action:unsubscribe role:@dev
/reminder_subscription action:subscribe role:@support
!rem unsubscribe dev
!rem subscribe @support
Alerts
alert
Get notified when the ticket receives a new message.
| Slash | Text |
|---|---|
/alert [cancel] | !alert [cancel] |
Parameters:
cancel- Remove an existing alert
Information
id
Display the ticket user’s Discord ID.
| Slash | Text |
|---|---|
/id | !id |
logs
View ticket history and logs.
| Slash | Text |
|---|---|
/logs | !logs |
status
View or change the bot’s operational status.
| Slash | Text |
|---|---|
/status [new_status] | !status [new_status] |
Snippets
Snippets are saved responses that can be quickly inserted.
snippet
Use a saved snippet.
| Slash | Text |
|---|---|
/snippet <key> | !snippet <key> |
Snippet management is done through the web panel or database directly.
Time Format Reference
For commands accepting time durations:
| Unit | Example | Description |
|---|---|---|
s | 30s | Seconds |
m | 15m | Minutes |
h | 2h | Hours |
d | 1d | Days |
Combinations are supported: 1d12h = 1 day and 12 hours.
Command Permissions
Commands (text and slash) are reserved to staff:
- Dual-server mode: commands only work in the staff server. Slash commands are not registered in the community server, and text commands sent there are ignored. The one exception is the New Thread user context menu (right-click a member → Apps), which is available in the community server too, but only for members of the staff server. Its reply there is ephemeral (“Only you can see this”), so community members see nothing of it.
- Single-server mode: staff are the members who can see the inbox category (
inbox_category_id), which is also who can see the tickets. Other members are ignored by text commands and get a “permission denied” reply to slash commands. To also hide slash commands from them, restrict the bot’s commands in Server Settings → Integrations. - Super admins (
panel_super_admin_users/panel_super_admin_rolesinconfig.toml) always count as staff. - Additional panel permissions can be configured through the panel