/moderation command group, and Percy gives you per-entity exemptions so legitimate bots, trusted channels, and staff roles are never accidentally caught in the net.
Viewing Your Current Configuration
/moderation with no sub-command displays a summary of every AutoMod feature for your server: which features are active, which channel alerts are bound to, the current mention threshold, and the full list of ignored entities.
Command Reference
/moderation auditlog #channel — Set the audit log channel
/moderation auditlog #channel — Set the audit log channel
/moderation alerts #channel — Set the alert channel
/moderation alerts #channel — Set the alert channel
/moderation raid — Toggle raid protection
/moderation raid — Toggle raid protection
true or false to set the state directly:- A single user sends 10+ messages within 12 seconds
- The same message content appears 5+ times within 15 seconds across any channel
- 30+ messages from new accounts arrive in a channel within 35 seconds
/moderation mentions <threshold> — Set mention-spam threshold
/moderation mentions <threshold> — Set mention-spam threshold
<threshold> users in a short window. The threshold must be greater than 3. Percy counts only non-bot user mentions — role mentions are excluded.Percy monitors two separate windows:- Single message: more than
<threshold>mentions in one message triggers an immediate ban. - Cumulative:
<threshold>mentions spread across multiple messages within 15 seconds also triggers a ban.
/moderation ignore @entity — Add an entity to the ignore list
/moderation ignore @entity — Add an entity to the ignore list
/moderation unignore @entity — Remove an entity from the ignore list
/moderation unignore @entity — Remove an entity from the ignore list
/moderation ignored — List all ignored entities
/moderation ignored — List all ignored entities
/moderation disable [feature] — Disable a feature
/moderation disable [feature] — Disable a feature
alerts, auditlog, raid, mentions, and sentinel. Disabling a feature does not delete its configuration — you can re-enable it at any time.How the Ignore List Works
Any entity — a text channel, a role, or a member — can be added to the ignore list. When Percy checks an incoming message:- It looks up the channel the message was sent in.
- It checks the author’s user ID.
- It checks every role the author holds.
#bot-spam channels, verified staff roles, or trusted bot accounts from automated action.
Frequently Asked Questions
Will AutoMod affect my own bots?
Will AutoMod affect my own bots?
What happens when a raid is detected?
What happens when a raid is detected?
Can I use AutoMod alongside Discord's built-in AutoMod?
Can I use AutoMod alongside Discord's built-in AutoMod?