Discord AutoMod is the cheapest moderator you will ever have: it never sleeps, never gets tired of deleting the same scam link, and it stops bad messages before anyone sees them. Most servers turn on one or two rules and forget about the rest. This guide walks through every rule type, the settings we recommend, and the mistakes that make AutoMod either useless or annoying.
Key takeaways
- Turn on mention spam and suspected spam rules first. They stop most raids and scam waves with almost no false positives.
- Keep custom keyword lists short and specific. Broad lists catch normal conversation and train members to ignore your rules.
- Send alerts to a private log channel so moderators can see what AutoMod is catching and tune it.
- Exempt staff roles, but keep exemptions narrow. Every exempt role is a hole a compromised account can use.
What AutoMod can and cannot do
AutoMod checks each message (and member names, if you enable that rule) against your rules before it is posted. When a rule matches, it can:
- Block the message, optionally showing the member a custom explanation.
- Send an alert to a channel you choose, with the blocked content, so moderators can review it.
- Time out the member for a set period, on rule types that support it.
It cannot ban, kick, warn with a points system or judge context. "Kill it" in a gaming server and in a mental health server mean different things, and AutoMod cannot tell them apart. Treat it as a filter for the obvious problems, so your human moderators have time for the rest.
Step 1: Open AutoMod
Go to Server Settings → Safety Setup → AutoMod. If you do not see it, you need the Manage Server permission. Discord moves these menus occasionally; searching "AutoMod" in Server Settings always finds it.
Before you add rules, create a private channel such as #mod-log that only moderators can read. You will point alerts there.
Step 2: Block mention spam
Mass mentions are the signature of raids and of compromised accounts spreading scams. The mention spam rule blocks messages that mention more than a set number of unique users and roles.
- Recommended limit: 5 for most servers. Go lower (3) for small or private servers, higher only if your community genuinely tags many people in normal use.
- Raid protection: turn it on. Discord watches for sudden bursts of mention spam across the server and alerts you.
- Action: block the message and send an alert. Add a timeout of 10 minutes or more; a real member who hits this by accident will understand, and a compromised account is stopped before it moves on to DMs.
Step 3: Block suspected spam
The suspected spam rule uses Discord's own spam detection. It is tuned by Discord across millions of servers, so it catches link-spam and copy-paste scam messages you would never think to list.
Turn it on everywhere and send alerts to your log channel. It does not support custom keywords, and that is the point: you get Discord's signal for free.
Step 4: Turn on commonly flagged words
Discord maintains preset word lists for severe profanity, insults and slurs, and sexual content. Enable the categories that match your rules. A server for teenagers should enable all three; an adult gaming community might allow profanity but keep slurs blocked.
These lists are managed by Discord, so you cannot see or edit every word. Use the allow list on the rule to unblock specific words your community legitimately uses.
Step 5: Add custom keyword rules
Custom keyword rules are where AutoMod becomes yours. Discord lets you create several, each with its own list, exemptions and action. Split them by purpose rather than putting everything in one list:
| Rule | What to block | Action |
|---|---|---|
| Scams | "free nitro", "steam gift", "airdrop", fake support phrases | Block, alert, timeout |
| Invites | discord.gg/*, discord.com/invite/* | Block, alert |
| Community-specific | Cheat sellers, leaked content, names of known raiders | Block, alert |
Some tips for keyword lists:
- Use wildcards carefully.
*nitro*catches "free-nitro.gift" but also "nitrogen". Prefer whole phrases. - Think about obfuscation. Scammers write "n1tro" and "nltro". Add the common variants, or use a regex rule if you are comfortable with patterns.
- Review the alert channel weekly. If a keyword mostly catches innocent messages, remove it.
Step 6: Handle links
Links are the main way scams and malware reach your members. You have two approaches:
- Block known-bad patterns (invite links, URL shorteners, gift scams) and allow everything else. Good for most communities.
- Allow only trusted domains and block every other link. Good for servers with younger members or a history of scam waves. Exempt a
#linksor#showcasechannel if members need to share freely there.
Step 7: Set exemptions
Every rule can exempt roles and channels. Exempt:
- Your moderator and admin roles from keyword and link rules, so they can quote rule-breaking content in reports.
- Staff-only channels such as
#mod-log.
Do not exempt large member roles such as "Verified" or "Level 10". Compromised accounts often have those roles, and that is exactly when you need AutoMod working.
Step 8: Write a block message members understand
When AutoMod blocks a message, the member can see a custom message. Use it. "Your message contained a link we don't allow. Ask a moderator in #support if this was a mistake" turns a confusing moment into a rule they now know.
A starting setup by server type
- Gaming: mention spam (5), suspected spam, slurs, invite links, cheat-seller keywords.
- Study or school: all flagged word lists, link allow list, mention spam (3), keyword rule for "do my homework" style requests if your rules forbid them.
- Creator or streamer: mention spam (5), suspected spam, scam keywords, invite links blocked outside a self-promo channel.
- Business or support: suspected spam, invite links, scam keywords impersonating your own support team.
Our Discord server templates list the AutoMod rules we recommend for each kind of community.
Common mistakes
- One giant keyword list. It is impossible to tune and impossible to exempt sensibly. Split rules by purpose.
- Blocking without alerting. If nobody sees what is blocked, you never learn whether rules are too strict or too loose.
- Exempting everyone with a role. See step 7.
- Never revisiting rules. Scam wording changes every few months. Check your alert channel and update lists.
- Relying on AutoMod alone. AutoMod is a filter, not a moderation team. Pair it with clear server rules and moderators who know how to escalate.
Managing AutoMod across several servers
AutoMod is configured per server, so owners who run more than one community end up repeating every rule by hand, and the copies drift. If that is you, a dashboard helps. Discrofy's AutoMod manager shows every rule on each linked server and lets you apply the same presets everywhere. Discord still enforces the rules, so nothing depends on our uptime.
For the wider picture, read our guide to Discord security best practices and the comparison of Discord moderation tools.