All posts
discordautomodmoderationspamserver setup

Discord AutoMod: How to Set It Up and What Each Filter Does

Set up Discord's built-in AutoMod: keyword filters, spam and mention filters, alerts, timeouts, and exemptions, plus what AutoMod does not catch.

I
InviteForge Team

Ready to track your Discord invites?

Add to Discord — FreeOpen Dashboard →

Last updated: October 13, 2026 · Category: Tutorial · Editorial review · About the authors

Key Takeaways

  • AutoMod is Discord's built-in filter. It can block a message before it is posted, send an alert to a staff channel, and for some rules, time out the sender.
  • It has four rule types: Commonly Flagged Words, Custom Keywords, Block Spam Content, and Block Mention Spam.
  • Admins and anyone with Manage Server are always exempt, so test your rules with a regular account.

Discord AutoMod is a set of content filters built into every server. You set it up in Server Settings > AutoMod: pick a rule, choose what happens when it matches, and add exemptions. According to Discord's AutoMod FAQ (retrieved 2026-09-28), it can "automatically detect - and even block - undesirable and risky content before it is ever posted," across text channels, threads, and text chat in voice channels.

Who Can Set Up AutoMod

The FAQ says members with Manage Server or Administrator can create and edit AutoMod rules "when on a Desktop device." Rules cannot be changed from mobile. Discord says AutoMod "is currently available for all servers."

The Four Rule Types

Rule What it catches Available responses
Commonly Flagged Words Ready-made lists: Insults and Slurs, Sexual Content, Severe Profanity Block, alert
Custom Keywords Words, phrases, links, emoji, and symbols you enter Block, alert, timeout
Block Spam Content Messages similar to spam users have reported, such as fake Nitro offers and invite spam Block, alert
Block Mention Spam Messages with more user or role mentions than your limit Block, alert, timeout

Discord notes that timeout for flagged words "is only available under Custom Keyword Rules," and the mention spam rule offers it too.

How to Set Up Keyword Filters

  1. Go to Server Settings > AutoMod.
  2. Under Commonly Flagged Words, press Set Up and pick any of the three lists.
  3. Under Custom Keyword Rule, press Set Up and enter your own words and phrases.
  4. Choose the response: block the message with an optional custom note, send an alert, and/or time out the user (Custom Keyword Rules only).
  5. Add any roles or channels to exempt, then save.

A few details from the FAQ help avoid surprises:

  • Custom block message. A blocked member sees a message only they can see. You can add your own text, up to 150 characters.
  • Alerts need a channel. Pick a channel only moderators can see. Alerts include who sent the message, what it said, and where.
  • Exempt words. If a commonly flagged word is normal in your community, add it under "Add exempt words."
  • Limits. Each Custom Keyword Rule holds up to 1,000 terms, with a 60-character limit per term.
  • Quick adds. Highlight a word in a message, right-click, and select Flag Word to add it to a rule.

Exact Matches and Wildcards

By default, AutoMod matches keywords exactly, and a multi-word term only matches the exact phrase. In Custom Keyword Rules, add a * wildcard to catch variations:

  • cat* matches words that start with "cat," such as "cat-sitter"
  • *cat matches words that end with "cat," such as "bobcat"
  • *ana* matches "ana" anywhere inside a word, such as "bananas"

Wildcards catch more attempts to get around a rule, but they also catch innocent words that contain the same letters. Test each wildcard term before relying on it.

For example, a server that keeps seeing fake Nitro offers could add the exact phrase free nitro. Adding *nitro* instead would also block members talking about their own Nitro subscription, which is the kind of false positive to test for.

How to Set Up Spam Filters

Both spam filters are in Server Settings > AutoMod.

Block Spam Content targets unsolicited ads, such as fake free Nitro offers, and invite spam. Discord says the filter uses machine learning based on spam that users have reported, and that it "might not catch everything." Press Set Up, choose block and/or alert, and add exemptions.

Block Mention Spam limits how many user or role mentions one message can contain, up to 50 per message. Discord's raid protection guide (retrieved 2026-09-28) clarifies that the limit counts unique mentions in each message. Set a limit that fits your server, then choose block, alert, and/or timeout.

A timeout response, the same guide explains, temporarily stops a member from sending messages or joining voice channels.

To try a new rule safely, the raid guide suggests turning on "Send alert" and turning off "Block message." AutoMod then reports matches without removing them, so you can review the results before turning on blocking.

Adjusting AutoMod During a Raid

Discord's raid guide describes mention raids as raiders "spamming mentions via @usernames or @roles." As an illustration, a wave of new accounts might post the same link while pinging dozens of members, faster than moderators can delete it.

The same raid guide lists changes to make while a raid is happening:

  1. Add the words or phrases raiders are spamming to one of your Custom Keyword Rules, and turn on the "Block Message" response.
  2. Turn on "Send alerts" to get who-what-where information on raiders, and "Timeout member" to stop them from posting.
  3. Depending on what raiders are doing, consider enabling those responses "across all of your other AutoMod rules." Timeout is only available on Custom Keyword and Block Mention Spam rules.
  4. If raiders are spamming mentions, set "a lower, more restrictive mention limit."

Once the raid is over, consider removing raid-specific terms you no longer need, so normal conversation is not blocked. That last step is a suggestion, not part of Discord's guide.

Block Words in Member Names

AutoMod can also stop members from using blocked words in their usernames or server nicknames. Go to Server Settings > Safety Setup, select Edit next to AutoMod, and enable Block Words in Member Profile Names under Members. A member with a blocked word in their name has to change it before they can talk or interact.

What AutoMod Does Not Cover

AutoMod is a message filter. Knowing its limits helps you decide what else you need:

  • Admins and Manage Server holders are always exempt. Test rules from a regular account, or you will think a rule is broken when it is not.
  • Apps you installed on the server are not flagged. The FAQ says AutoMod only flags messages from apps installed directly on a user's account.
  • English-only lists. The Commonly Flagged Words lists and the spam filter "are currently only available in English." Custom Keyword Rules work in any language.
  • Spam the filter misses. The FAQ lists spam repeated across multiple messages and channels, and friend request spam. It also notes the filter may miss nonsense spread across several messages, or "copy/pasta" messages.
  • Hidden, incomplete word lists. Discord does not publish the Commonly Flagged Words lists, and says they "may not catch everything." Add missed words to a Custom Keyword Rule.
  • It does not judge accounts. AutoMod filters what people post. It does not tell you whether a new account is an alt, or stop accounts from joining. For that, see how Discord verification bots work and how alt-account detection works.
  • It does not catch an account by where it posts. Spam that lands in every channel, including one nobody should use, is what a honeypot channel is for.

Third-party moderation bots are separate tools you can evaluate against these gaps. MEE6, for example, lists a Moderator plugin in its help center (retrieved 2026-09-28).

A Sensible Starting Setup

This is a practical baseline, not a Discord requirement:

  1. Enable Commonly Flagged Words with block and alert.
  2. Enable Block Spam Content with block and alert.
  3. Set Block Mention Spam to a limit that normal conversation never reaches, with block, alert, and timeout.
  4. Add a small Custom Keyword Rule for scam phrases and unwanted server invites your members keep seeing.
  5. Send every alert to one private moderator channel, and review it daily at first.

Then match the rules to what your server rules actually say. A member who gets blocked should be able to find the rule they broke.

Frequently Asked Questions

How do I turn on AutoMod in Discord?

Go to Server Settings, then AutoMod, and press Set Up on the filter you want, such as Commonly Flagged Words, a Custom Keyword Rule, Block Spam Content, or Block Mention Spam. Choose the response and save. You need Manage Server or Administrator, on desktop.

Does AutoMod apply to moderators and admins?

It does not apply to anyone with Administrator or Manage Server; Discord says they are always exempt. Moderators without those permissions are filtered unless you exempt their role or channel.

Can AutoMod time out users?

Yes, for Custom Keyword Rules and the Block Mention Spam rule. Discord lists timeout as a response for those rules. The Commonly Flagged Words and Block Spam Content filters can block the message and send an alert.

Does AutoMod work in other languages?

Custom Keyword Rules work in any language. Discord says the Commonly Flagged Words lists and the Spam Content filter are currently only available in English.

Is AutoMod free?

Discord's AutoMod FAQ lists no price or plan requirement, and says AutoMod is currently available for all servers.

What is the best AutoMod for Discord?

Discord's built-in AutoMod runs inside Discord and blocks messages before they post, so it is a natural starting point. Moderation bots such as MEE6, whose help center lists a Moderator plugin, are separate tools. Check whether one covers what AutoMod does not, such as spam repeated across messages or copy/pasta messages.

Related reading

I
InviteForge Team · Builders of InviteForge

Published by the InviteForge organization — the independent team that designs, ships, and runs the Discord invite-tracking bot day-to-day (including the anti-fake pipeline and dashboard). We operate InviteForge on our own support server, so these posts reflect how we use the product, not generic marketing copy. Reach us via discord.gg/Dm3zPk3wWf.

How we write and update these guides →

Ready to track your Discord invites?

Add to Discord — FreeOpen Dashboard →