docs/security & control/moderation

moderation

fast bans, softbans, timeouts, channel locks, purges, modroles, and warning thresholds.

overview

moderation gives your staff clean, hierarchy-safe commands for banning, kicking, timing out, locking channels, purging spam, and tracking warnings — plus modrole so you don't have to hand out risky discord permissions.

moderation feed previewmoderation
warnmember warned for spamming in #general
lock#general locked down by moderator
purgepurged 25 bot messages
timeouttimeout applied for 10 minutes

permissions & hierarchy

  • moderators cannot punish anyone whose highest role is equal to or higher than their own.
  • grave cannot punish anyone whose highest role is above grave's role — keep grave near the top of server settings → roles.

modrole (safest way to give staff commands)

instead of giving helpers Ban Members or Manage Messages directly in discord, you can register their staff role as a modrole (up to 15 modroles per server) and pick which grave commands they're allowed to run.

1. add a modrole

text
.modrole add @Moderator

grave will walk you through picking which moderation commands @Moderator is allowed to use.

2. edit, view, or remove modroles

  • .modrole edit @Moderator — add or remove allowed commands for that role.
  • .modrole config — see every modrole and what commands it can use.
  • .modrole remove @Moderator — remove a single modrole.
  • .modrole reset — delete all modrole configs.
  • .modrole help — view the modrole guide in discord.

3. log modrole actions (optional)

send a log every time a staff member uses a modrole command:

text
.modrole logsetup #mod-logs
.modrole logview
.modrole logreset

bans, kicks & timeouts

tag a user or paste their user id, followed by an optional reason:

text
.ban @user spamming scam links
.unban 123456789012345678
.kick @user
.timeout @user 10m
.untimeout @user

channel locks & purges

stop chat immediately during a raid or delete a burst of messages:

text
.lock #general
.unlock #general
.purge 25

if logging is enabled, .purge also attaches a downloadable html transcript of the deleted messages in your message log channel.

warnings

keep a record of rule breaks on a member:

text
.warn @user please stop spamming

commands

.ban [user] [reason=no reason provided]
prefixslash

ban a user from the server

aliases: .bexamples: .ban @user spamming, .ban 123456789012345678 raid, .ban @user
.unban <user> [reason=no reason provided]
prefixslash

revoke a user's ban

aliases: .ubexamples: .unban 123456789012345678 appealed, .unban @user
.softban [user] [reason=no reason provided]
prefixslash

ban and instantly unban to purge messages

aliases: .sbexamples: .softban @user clean up spam, .softban 123456789012345678
.kick [target] [reason=no reason provided]
prefixslash

kick a member from the server

aliases: .kexamples: .kick @user breaking rules, .kick 123456789012345678
.mute [target] [duration=7d] [reason=no reason provided]
prefixslash

mute a member

aliases: .timeout, .toexamples: .mute @user 10m spam, .timeout @user 2h, .mute @user, .mute 1d raid
.unmute [target] [reason=no reason provided]
prefixslash

unmute a member

aliases: .untimeout, .untoexamples: .unmute @user, .untimeout @user apologized
.purge [amount]
prefixslash

bulk delete recent messages

aliases: .c, .clean, .pruneexamples: .purge 50, .purge 25
.purge bots [amount]purge messages sent by bots
.purge contains <phrase> [amount]purge messages containing a specific phrase
.purge user <user> [amount]purge messages from a specific user
.lock [channel] [reason=no reason provided]
prefixslash

lock a channel for @everyone

examples: .lock, .lock #general raid incoming
.unlock [channel] [reason=no reason provided]
prefixslash

unlock a channel for @everyone

examples: .unlock, .unlock #general raid over
.hide [channel] [reason=no reason provided]
prefixslash

hide a channel from @everyone

examples: .hide, .hide #staff-chat secret
.unhide [channel] [reason=no reason provided]
prefixslash

unhide a channel for @everyone

examples: .unhide, .unhide #general public again
.warn [target] [reason=no reason provided]
prefixslash

warn a member in the server

examples: .warn @user spamming, .warn @user
.unwarn [target] [warn_id]
prefixslash

remove a warning from a member or by warn id

examples: .unwarn @user a1b2c3, .unwarn a1b2c3, .unwarn @user
.warnings [target]
prefixslash

view warnings for a member

aliases: .warns, .warnlistexamples: .warnings @user, .warnings
.warningsclear [target]
prefixslash

clear all warnings for a member in the server

aliases: .warnclear, .clearwarns, .clearwarningsexamples: .warningsclear @user, .warnclear @user
.role [member] [role]
prefixslash

toggle or manage roles for a member

examples: .role @user @member, .role @user admin
.role all <role>assign a role to all members in the server
.role bots <role>assign a role to all bot members in the server
.role humans <role>assign a role to all human members in the server
.nick [member] [nickname]
prefixslash

change or reset a member's nickname

aliases: .nicknameexamples: .nick @user shadow, .nick @user reset, .nick @user
.lockall [reason=no reason provided]
prefix

lock all channels for @everyone

examples: .lockall, .lockall server lockdown
.unlockall [reason=no reason provided]
prefix

unlock all locked channels for @everyone

examples: .unlockall, .unlockall lockdown lifted
.hideall [reason=no reason provided]
prefix

hide all channels from @everyone

examples: .hideall, .hideall server maintenance
.unhideall [reason=no reason provided]
prefix

unhide all hidden channels for @everyone

examples: .unhideall, .unhideall maintenance complete
.unbanall [reason=no reason provided]
prefix

unban all banned users from the server

aliases: .massunbanexamples: .unbanall, .unbanall server pardon
.unmuteall [reason=no reason provided]
prefix

remove timeout from all timed out members in the server

aliases: .untimeoutallexamples: .unmuteall, .unmuteall global amnesty
.modrole
prefixslash

configure moderator roles and command permissions

aliases: .mrexamples: .modrole, .modrole add @moderator, .modrole edit @moderator, .modrole config, .modrole logsetup #mod-logs
.modrole add [role]add and configure a new mod role
.modrole config [role]view configured mod roles and permissions
.modrole edit [role]modify allowed commands or bypass roles for a mod role
.modrole helpview modrole command guide and active configuration
.modrole logresetclear the moderation actions log channel
.modrole logsetup [channel]set the channel for moderation action logs
.modrole logviewview the current moderation log channel
.modrole remove [role]remove a mod role
.modrole resetclear all configured mod roles in this server