Discord AutoMod Rules Template
Discord AutoMod automatically catches spam, slurs, mention raids, and unwanted links before moderators see them. These templates are guidance notes for the rule setups you can build in Server Settings. AutoMod is free for standard community servers.
What Discord AutoMod does
AutoMod scans every message sent in your server against rules you configure. When a message matches a rule, Discord can block it, timeout the sender, or alert your staff channel — depending on how you set up that rule.
Rules live under Server Settings, AutoMod. Discord hosts the filtering, so you do not need a separate bot for basic keyword and spam protection. More complex moderation still benefits from a dedicated bot.
The four template categories
Keyword filter notes covers block lists for spam terms, scam phrases, and slur variants. Start in alert-only mode to see what triggers before switching to block, so you do not accidentally silence legitimate members.
Spam protection addresses repeated messages, emoji floods, and character spam. It also covers slowdowns for new account joins and duplicate message limits within a short window.
Mention limits handles @everyone abuse, mass mention raids, and unintended staff pings. You can exempt moderator roles from mention restrictions so they retain normal ping ability.
Link filtering manages which domains members can share and where. It can block known shorteners, restrict links to specific channels, and require accounts to be a minimum age before posting URLs.
Setting up a keyword filter step by step
In Server Settings, AutoMod, click Create Rule. Name it something descriptive like Block Scam Links or Slur Filter. Choose the trigger type Keyword and enter your terms one per line.
Start with a small list of obvious terms you already ban manually. Add variants slowly. Set the action to Warn or Block for severe terms, or just Flag for review for borderline cases. Watch the mod log for false positives before expanding the block list.
Enable the rule for all channels first, then narrow it to specific channels if certain topics legitimately use trigger words. You can also set an exception list for roles — for example, exempting moderators from a link-blocking rule.
Configuring mention limits
Mention limit rules trigger when a single message contains more mentions than a threshold you set. During a raid, this stops a user from @mentioning 50 people in one message. Set the threshold based on your server culture — some LFG servers legitimately mention several teammates.
You can also block @everyone and @here for non-moderators to prevent ping raids entirely. This is one of the most effective rules for public servers with raid exposure.
AutoMod exemptions let you allow certain roles to bypass mention limits. Set this for your mod team, bot accounts, and event hosts who need to ping large groups legitimately.
Link filtering setup
Discord AutoMod can block messages containing links, restrict links to specific channels, or flag messages with short URLs from known link shorteners. You can also block invitations to other Discord servers.
For invite link blocking, the rule matches common Discord invite patterns. It does not catch every possible URL, but it catches the vast majority of server invites members paste without permission.
If your server allows partner promotions in a specific channel, create a rule that only blocks links outside that channel. Allowlist the #promo channel and block everywhere else.
Tuning and avoiding false positives
Review AutoMod flagged messages weekly. A rule that was appropriate at launch may catch legitimate conversation six months later. If a term is producing too many false positives, remove it or narrow the channels it applies to.
When adding new keyword rules, set them to flag for a few days before switching to block. This gives you a chance to catch bad entries. A keyword like 'steam' will flag every mention of the game platform, not just steam scam links.
AutoMod does not read context. A rule blocking "free" will catch "I got this game for free" and "free to play." Use short, specific phrases rather than single common words for better accuracy.
Staff workflow with AutoMod
Route AutoMod alerts to a private mod channel so the main chat does not get disrupted. Review alerts regularly — a spike in blocked messages often signals a raid or a new spam wave before it escalates.
Document your rule set in a shared mod docs channel. When Discord updates its AutoMod presets or adds new options, review the existing rules and adjust. New presets sometimes overlap with or replace custom rules you had configured.
Pair AutoMod with a bot for escalation. AutoMod handles the first pass, but a bot can take action on second offenses, log incidents to a mod log, or notify moderators when a user crosses a threshold of blocked messages.
Explore more discord tools on Tolz.me.