moderation
Automod
Configurable automated moderation rules — spam, mentions, invites, scam links, word/regex filters, caps, raid detection — with per-rule dry-run, exemptions, and a false-positive review queue.
Enabled by defaultRequires the MessageContent privileged intentRequires the GuildMembers privileged intent
Catches spam, invite drops and phishing links before a human has to.
Why gaming communities love it
- Raid nights and giveaway spikes bring bot accounts and invite-link spam; automod filters it in milliseconds, at 3am, every night of the week.
- Dry-run mode lets staff tune new rules against real traffic without accidentally punishing legitimate players while they calibrate.
- A false-positive review queue means an over-eager caps-lock rule gets caught and fixed, not silently annoying your best members.
- Regex filters run through a catastrophic-backtracking safeguard, so a bad pattern from a copy-pasted filter list can never hang the bot.
Full command reference
| Command | Description | Who can use it | Example |
|---|---|---|---|
/automod rule create | Create a new automod rule (opens a form for the type-specific settings). | Helper+ | /automod rule create type:"type" name:"name" action:"action" [timeout_minutes:10] |
/automod rule list | List every automod rule. | Helper+ | /automod rule list |
/automod rule view | View a rule's full configuration. | Helper+ | /automod rule view rule:"rule" |
/automod rule edit | Edit a rule's type-specific settings (opens a form). | Helper+ | /automod rule edit rule:"rule" |
/automod rule delete | Delete a rule (asks for confirmation). | Helper+ | /automod rule delete rule:"rule" |
/automod rule toggle | Enable/disable a rule. | Helper+ | /automod rule toggle rule:"rule" |
/automod rule dryrun | Turn one rule's dry-run on or off (a rule acts only when guild-wide is off too). | Helper+ | /automod rule dryrun rule:"rule" state:"state" |
/automod rule test | Test a rule against sample text — no action is taken. | Helper+ | /automod rule test rule:"rule" text:"text" |
/automod exempt add | Exempt a role/channel/user, or trust a domain, for a rule. | Helper+ | /automod exempt add rule:"rule" kind:"kind" [role:@Moderators] [channel:#general] [user:@user] [domain:"domain"] |
/automod exempt remove | Remove an exemption from a rule. | Helper+ | /automod exempt remove rule:"rule" kind:"kind" [role:@Moderators] [channel:#general] [user:@user] [domain:"domain"] |
/automod exempt list | List a rule's exemptions. | Helper+ | /automod exempt list rule:"rule" |
/automod dryrun | Turn guild-wide dry-run mode on or off (admin only). | Helper+ | /automod dryrun state:"state" |
/automod review | Review pending automod matches (confirm or mark as false positive). | Helper+ | /automod review |
/automod status | Show automod's current status: dry-run state, rule health, recent activity. | Helper+ | /automod status |