Rule types
Spam
Spam
Message rate per user. Trigger:
N messages within W seconds.Tune: 5 messages / 5 seconds is a reasonable default for most communities.Mention spam
Mention spam
Unique mentions per message. Catches
@user1 @user2 @user3 @user4 floods.Tune: 3 mentions per message blocks most mass-pings without hurting legitimate group DMs.Links
Links
Block all URLs, or block all except an allow-list (
youtube.com, github.com, your domain).Useful for: off-topic channels, crypto communities (block phishing), new-member onboarding.Invite
Invite
Block Discord invite links (
discord.gg/*, discord.com/invite/*, dsc.gg/*).Whitelist mode lets you allow links to your partner servers while still blocking random invites.Regex
Regex
Custom regex patterns. The rule builder includes a tester so you can paste sample messages and see matches before deploying.Common uses: block known phishing URL patterns, detect invite codes in other formats, block slurs specific to your community.
New account
New account
Flag messages from users whose account is younger than N days.Most drive-by spam comes from accounts under 7 days old — set the threshold accordingly.
Image only
Image only
Restrict a channel (art, screenshots, memes) to only image attachments. Text-only messages are deleted.
Caps
Caps
Flag messages with >X% uppercase characters. Only applies to messages above a minimum length (avoids false positives on short acronyms).
Emoji spam
Emoji spam
Repeated emoji (custom or unicode). Trigger: the same emoji appears >N times in one message.
Duplicate messages
Duplicate messages
Detects copy-paste across channels. Trigger: same message text posted in ≥3 channels within 60 seconds.Classic signature of ad-spam accounts.
Action chain
Each rule has an ordered action list. Common patterns:- Delete only — quietest option. Message disappears, user is not notified.
- Delete + Warn — user gets a warning case, shows up in their mod history.
- Delete + Warn + Mute 10m — escalation for repeat offenders.
- Delete + Ban — zero tolerance (e.g. for phishing URL regex).
Exempt roles + channels
Every rule has an exempt roles list and an exempt channels list. Staff roles are typically exempt from everything; specific channels like#off-topic or #shitpost might be exempt from caps or duplicate rules.
Triggers feed
Every AutoMod trigger is logged. The Triggers tab shows:- What rule fired
- Message content (last 1 000 chars)
- User + channel
- Action taken