← All articles

Free AutoMod Bot for Discord: Stop Spam, Invites and Raids

Published 26 Oct 2026

Also available in: Deutsch · Français · Español · Português

Every growing server eventually meets the same visitors: the account that pastes a "free Nitro" link into six channels, the self-promoter who drops their invite everywhere, and, on a bad day, a wave of fresh accounts flooding chat at once. Moderators can handle the occasional troublemaker. Nobody can handle a flood by hand.

Automatic moderation exists for exactly that. This guide explains what Discord already does for you, what a bot adds on top, a set of settings to start from, and why raids need more than filters.

Start with Discord's native AutoMod

Discord has its own AutoMod in Server Settings. It can block messages that contain keywords you define, catch content that looks like spam and limit mention spam, and it acts before the message is posted, so nobody ever sees it. It costs nothing and does not depend on any bot being online. If you have not looked at it yet, do that first; the official guides on support.discord.com explain each rule type.

So why add a bot? Because the two work in different ways and cover different gaps.

Discord native AutoMod A bot's AutoMod (MagnificBot)
When it acts Before the message is posted Right after, by deleting the message
Message-rate spam (many messages in a few seconds) Not its focus Yes, with your own threshold
Invite and link rules Possible with keyword rules Dedicated switches, plus an allowed-domains list for links
Excessive caps No Yes, by percentage
Consequences Block, alert, timeout Delete, delete + warning, or delete + timeout
Ties into your moderation history Separate Warnings become cases and count towards escalation

Use both. Let Discord stop the worst words before anyone reads them, and let the bot handle behaviour patterns and keep the record.

What MagnificBot's AutoMod checks

The AutoMod module is part of the free plan and covers six filters:

  • Spam: more than a set number of messages within a set number of seconds.
  • Invites: links to other Discord servers.
  • Links: any URL, with a list of allowed domains (for example your own website or YouTube).
  • Caps: messages where the share of capital letters passes a percentage you choose (short messages are skipped, so "LOL" is fine).
  • Mass mentions: more than a set number of user or role mentions in one message.
  • Banned words: your own list, case-insensitive and matched as whole words, so a banned word does not catch innocent longer words that contain it.

Staff with the Manage Messages permission are exempt automatically, and you can exempt extra roles and channels, such as a #self-promo channel where invites are allowed.

When a rule triggers, the bot deletes the message and, depending on your choice, also warns the member or times them out for a number of minutes. Each detection is reported in an AutoMod log channel (or your moderation log), so staff can review false positives.

Settings to start with

There is no perfect configuration, but this is a sensible baseline for a public community of a few hundred to a few thousand members:

Filter Starting point Adjust if…
Spam 6 messages in 5 seconds Fast-paced chats trigger it: raise to 8
Invites On You have a promo channel: exempt it
Links Off, or on with an allowlist You get phishing waves: turn on
Caps 70% Your community jokes in caps a lot: raise or disable
Mass mentions 5 per message Event announcements by members get caught: raise slightly
Banned words Slurs and known scam phrases Members complain about false hits: refine the list
Action Delete + warn Repeat offenders: rely on escalation

Pair delete + warn with automatic escalation in the moderation module. A first slip earns a warning, while a member who keeps spamming climbs the ladder to a timeout without staff lifting a finger.

Raids need layers, not just filters

A raid is many accounts acting at once. Message filters will delete a lot, but they react after the fact. Add these layers:

  1. Verification level. In Server Settings you can require, for example, a verified email or a minimum time on Discord before members can talk. Raise it during an attack and lower it afterwards.
  2. Account-age gate. An automation can give the "Member" role only to accounts older than a set number of days. If channels require that role, brand-new raid accounts cannot post at all.
  3. Delete + timeout for spam. During a raid, switching the action to timeout stops each account after its first burst.
  4. Logs. The members log shows the wave of joins; the moderation log shows what was done.
  5. Clean-up. /purge removes the leftovers quickly once the wave has passed.

For the long-term picture of keeping a server safe, see how moderation tools compare in our MEE6 vs Dyno vs Carl-bot vs MagnificBot comparison.

Keep false positives low

  • Review the AutoMod log weekly and remove banned words that catch normal conversation.
  • Allowlist the domains your community actually uses rather than turning link blocking off.
  • Tell members what is filtered in your rules. People adapt quickly when they know.
  • Prefer short timeouts to bans in automatic actions. Mistakes are cheap to undo.

FAQ

Should I disable Discord's AutoMod if I use a bot?

No. They complement each other. Discord blocks content before it appears; the bot handles spam rates, caps, link allowlists and your case history.

Does AutoMod affect moderators?

Staff with Manage Messages are exempt automatically. You can exempt more roles if needed.

Can AutoMod ban automatically?

AutoMod deletes, warns or times out. Harsher sanctions come from escalation rules you configure in the moderation module.

Is AutoMod limited on the free plan?

No. All filters are included for free. Premium removes the bot's promotional messages and raises limits in other modules; see pricing.

Set up your filters before the next spam wave: open AutoMod on app.magnificbot.com.

Essayez MagnificBot gratuitement

Tous les modules inclus, configurés depuis un tableau de bord web. Sans carte, sans limite de durée.

Ajouter à Discord — c’est gratuit