Best Discord Anti-Spam Settings: Thresholds That Work
Published 14 Nov 2026
Also available in: Español · Português · Deutsch · Français
Anti-spam filters fail in two directions. Set them too loose and a raid floods #general before anyone wakes up. Set them too tight and your most active regulars get muted for pasting a code block or getting excited in all caps after a match. The goal of this guide is to give you sensible starting thresholds, explain why each one exists, and show you how to tune them without guessing.
Start with the layers Discord already gives you
Before touching a bot, make sure the built-in defences are switched on. They cost nothing and stop the laziest attacks.
- Verification level (Server Settings → Safety Setup): for a public server, Medium (account older than five minutes) or High (member of the server for ten minutes) blocks most throwaway accounts from posting instantly.
- Discord's native AutoMod: it can block suspected spam content, mention spam and custom keywords. It is a solid base layer.
- Slowmode on your busiest text channels. Even a few seconds dampens floods without annoying normal conversation.
A moderation bot adds what these layers lack: rate limits per user, caps detection, allowlists for links, consistent punishments and, above all, a log of everything that happened.
Six filters and a sensible starting point
These numbers are starting points that work for most community servers between a few hundred and a few thousand members. They are not magic; you will adjust them after watching your logs.
| Filter | Starting threshold | Suggested action |
|---|---|---|
| Message flood | 5 messages in 5 seconds from one user | Delete + short timeout (5–10 min) |
| Duplicate text | Same message 3 times in 30 seconds | Delete + warn |
| Mass mentions | 5 or more user mentions in one message | Delete + timeout |
| Discord invites | Any invite that isn't to your own server | Delete + warn |
| Links | Blocked outside allowed channels or domains | Delete only |
| Caps | Over 70% capitals on messages longer than 15 characters | Delete only |
Two details matter more than the numbers themselves. First, the caps filter needs a minimum length, otherwise "LOL" and "GG" trigger it. Second, the mention filter should count unique mentions; replying to someone and pinging them once is not spam.
Banned words: short and specific
A banned-words list is where most servers overreach. Keep it to slurs, scam phrases you have actually seen ("free nitro", fake giveaway wording) and anything your rules explicitly forbid. Avoid short fragments that appear inside innocent words, and test each new entry against a few normal sentences before saving it. A long, vague list generates false positives that train members to ignore moderation entirely.
Pick the action, not just the trigger
Not every hit deserves the same response. A useful mental ladder:
- Delete only for style problems: caps, a stray link in the wrong channel.
- Delete and warn for rule breaking: advertising another server, repeated messages.
- Timeout for disruption: floods, mention spam.
- Kick or ban only for clear bad actors, such as a brand-new account posting scam links on join.
Keeping light offences light is what lets you be strict on the serious ones without a revolt.
Exempt the right people (by role, not by name)
Every filter should skip your staff roles and other bots. Beyond that, think about trusted members: a level role earned through activity is a good signal that someone isn't a spammer. Channel exemptions help too. Let #memes have caps and let #self-promo have links. Always exempt by role or channel rather than by individual user, so the rule survives when people come and go.
Tune for two weeks using your logs
Send every AutoMod action to a dedicated, staff-only log channel. Then, for the first couple of weeks:
- If regulars keep getting caught, loosen that one filter slightly.
- If the same kind of spam slips through repeatedly, tighten that one filter.
- Change one value at a time so you know what made the difference.
How this looks in MagnificBot
MagnificBot's AutoMod module covers spam, invites, links, caps, mass mentions and banned words, and you configure it from the web dashboard instead of typing commands. Pair it with the logs module so your team can see what was caught, and the moderation module can escalate repeated offences automatically, so a member who keeps triggering filters ends up with a stronger sanction instead of an endless string of deleted messages. All 16 modules, AutoMod included, are part of the free plan, and the bot doesn't ask for Administrator when you invite it. If you are comparing options, our free MEE6 alternative guide puts it next to other popular bots.
Raid days are different
During an active raid, temporarily raise the verification level, add slowmode to public channels, lower the mention threshold, and use Discord's option to pause invites if you have it. Once things calm down, put everything back. Permanent raid settings make your server feel hostile to genuine newcomers.
FAQ
What is a good message rate limit for Discord spam?
Around five messages in five seconds per user catches floods while leaving fast typists alone. Busy chat or gaming servers sometimes need a little more headroom.
Should AutoMod ban people automatically?
Rarely. Automatic bans make mistakes impossible to undo quietly. Use deletes and timeouts automatically, and keep bans for a human decision or for very clear scam patterns.
Is Discord's built-in AutoMod enough on its own?
For small servers it can be. Larger communities usually want per-user rate limits, caps filtering, link allowlists and a proper log, which is where a bot helps.
Do anti-spam filters stop raids?
They limit the damage, but verification level, slowmode and pausing invites do more to stop a raid at the door.
Want to try these thresholds on your own server? Log in at app.magnificbot.com with Discord and set up the AutoMod module in a few minutes.
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