Commands
Commands
Every slash command and context menu Guard has.
Guard has 36 commands. Most of what Guard does is configured in /settings, so
commands are mostly for moderating.
Who can use them
Each command has a Discord permission, which decides who sees it by default (server admins can change that in Server Settings → Integrations). Most moderation commands also work for staff roles allowed to do that action, even without the Discord permission.
Common options
- reason: Start typing to pick one of the server's saved reasons. Typing a saved reason's short name fills in the full reason. Left empty, the server's default reason for that action is used, and servers can require a reason. Up to 512 characters.
- duration: Write durations like 30m, 12h, 7d, 2w, 1mo or 1y, or combine them, like 2h 30m. 0, perm, permanent, forever and never mean permanent where that's allowed. The shortest is 1 minute and the longest is 10 years, unless a command says otherwise. Suggestions go from 1 minute to 4 weeks.
- visible: Most moderation commands have a visible option. Yes, the default, posts the reply for everyone. No shows it only to you. /case show and /case update have their own visible option, which defaults to No.
Member Actions
| Command | |
|---|---|
| /warn | Give a member a warning |
| /unwarn | Remove warnings from a member |
| /warnings | Show a member's active warnings |
| /mute | Time out a member so they can't talk for a while |
| /unmute | Remove a member's timeout so they can talk again |
| /kick | Kick a member from the server |
| /ban | Ban a member from the server |
| /softban | Ban and unban a member right away to clear their messages |
| /unban | Unban a user |
| /quarantine | Take a member's roles and lock them in the quarantine channel |
| /unquarantine | Let a member out of quarantine and give their roles back |
| /temprole | Give a member a role for a while |
| /channelmute | Stop a member from talking in one channel for a while |
| /massban | Ban every member matching some filters, for cleaning up raids |
| /masskick | Kick every member matching some filters, for cleaning up raids |
Cases & Lookups
| Command | |
|---|---|
| /case | View and manage moderation cases |
| /cases | Search the server's moderation cases |
| /note | Private staff notes about someone. They never see them |
| /user | What Guard knows about a member |
| /invites | Who invited who. Only you see it |
| /watch | Keep an eye on someone. Only staff see it |
| /modstats | Warnings, mutes, kicks and bans by each staff member |
Channels & Messages
| Command | |
|---|---|
| /lock | Stop a role from sending messages in a channel |
| /unlock | Let a role send messages in a channel again |
| /lockall | Lock every channel picked in the channel locking settings |
| /unlockall | Unlock every channel picked in the channel locking settings |
| /purge | Delete recent messages in this channel |
| /purgeall | Delete a member's messages or a link or text across every channel |
Protection & Setup
| Command | |
|---|---|
| /raid | Start, end or check raid mode |
| /verify | Let members in by hand |
| /automod | AutoMod tools |
| /security | Scan the server for security problems |
| /settings | Open the server settings |
| /help | What Guard does and the commands you can use |
Context Menus
| Command | |
|---|---|
| Report Message | Right-click a message → Apps |
| Report User | Right-click a member → Apps |