ramirez/docs/commands.md

116 lines
3.1 KiB
Markdown
Raw Permalink Normal View History

# 🤖 Commands
## Table of contents
2020-05-25 16:56:48 -04:00
* [Inside a Modmail thread](#inside-a-modmail-thread)
* [Anywhere on the inbox server](#anywhere-on-the-inbox-server)
* [Snippets (canned messages)](#snippets-canned-messages)
2020-05-25 16:56:48 -04:00
## Inside a Modmail thread
These commands can only be used inside a Modmail thread's channel on the inbox server.
### `!reply <text>` / `!r <text>`
Send a reply to the user.
**Example:** `!r How can I help you?`
To reply automatically without using `!reply`, [enable `alwaysReply` in bot settings](configuration.md).
### `!anonreply <text>` / `!ar <text>`
Send an anonymous reply to the user. Anonymous replies only show the moderator's role in the reply.
2020-05-25 16:56:48 -04:00
**Example:** `!ar Please only use Modmail for serious messages`
### `!close`
2020-05-25 16:56:48 -04:00
Close the Modmail thread.
### `!close <time>`
2020-05-25 16:56:48 -04:00
Close the Modmail thread after a timer. Sending a message to the user or receiving a message from the user will cancel scheduled closing.
**Example:** `!close 15m`
### `!close cancel`
Cancel a timed close.
### `!logs`
2020-05-25 16:56:48 -04:00
List previous Modmail logs with the user.
### `!block`
2020-05-25 16:56:48 -04:00
Block the user from using Modmail.
### `!block <time>`
2020-05-25 16:56:48 -04:00
Block the user from using Modmail for a specified time.
**Example:** `!block 7d`
### `!unblock`
2020-05-25 16:56:48 -04:00
Unblock the user, allowing them to use Modmail again.
### `!move <category>`
2020-05-25 16:56:48 -04:00
Move the Modmail thread to a different category.
Requires `allowMove` to be enabled in the bot's settings.
### `!suspend`
Suspend the thread.
The thread will act as closed and will not receive any messages until unsuspended via `!unsuspend`.
### `!unsuspend`
Unsuspend the thread. See `!suspend` above.
### `!alert`
Pings you when the thread gets a new reply.
### `!alert cancel`
Cancel the ping set by `!alert`.
### `!loglink`
2020-05-25 16:56:48 -04:00
Get a link to the open Modmail thread's log.
### `!loglink -s`
2020-05-25 16:56:48 -04:00
Get a link to the open Modmail thread's log, only showing messages to/from the user (ignores mod chatter within the thread).
### `!loglink -v`
2020-05-25 16:56:48 -04:00
Get a link to the open Modmail thread's log, showing extra details about channel and message IDs between the bot and the user.
This is mainly useful when reporting messages to Discord's Trust & Safety team.
### `!id`
Prints the user's ID.
## Anywhere on the inbox server
2020-05-25 16:56:48 -04:00
These commands can be used anywhere on the inbox server, even outside Modmail threads.
### `!newthread <userID>`
2020-05-25 16:56:48 -04:00
Open a Modmail thread with a user.
**Example:** `!newthread 106391128718245888`
### `!logs <userID>`
2020-05-25 16:56:48 -04:00
List previous Modmail logs with the specified user.
**Example:** `!logs 106391128718245888`
### `!block <userID>`
2020-05-25 16:56:48 -04:00
Block the specified user from Modmail.
**Example:** `!block 106391128718245888`
### `!block <userID> <time>`
2020-05-25 16:56:48 -04:00
Block the specified user from Modmail for a specified time.
**Example:** `!block 106391128718245888 7d`
### `!unblock <userID>`
2020-05-25 16:56:48 -04:00
Unblock the specified user, allowing them to use Modmail again.
**Example:** `!unblock 106391128718245888`
### `!is_blocked <userID>`
Check if the specified user is blocked.
**Example:** `!is_blocked 106391128718245888`
### `!version`
2020-05-25 16:56:48 -04:00
Show the Modmail bot's version.
## Snippets (canned messages)
See the [📋 Snippets](snippets.md) page for more information!