Back to blog

How to Stop Spam in Discord

Dark Discord-style AutoMod panel blocking neon spam bubbles before they reach #general

To stop spam in Discord, open Server Settings → AutoMod and turn on Block Spam Content plus Block Mention Spam. Set both to Block message and Send alert. That filter runs on Discord’s side and can stop a message before it appears. BetterAntispam does not replace AutoMod. Run /setup, then /antispam settings (Administrator) for floods, duplicates, caps, ghost pings, links, embeds, reactions, and edit spam. AutoMod misses copy-paste across several messages. That is the bot.

Editorial disclosure: This guide is published by BetterAntispam. We recommend BetterAntispam when you want AutoMod plus a slash-command flood ladder, with raid and lock tools in the same stack. We name the cases where Discord’s own AutoMod, Dyno, Carl-bot, Wick, YAGPDB, MEE6, or ProBot already cover the job. AutoMod limits come from Discord. Command defaults come from the bot’s source.

TL;DR: People searching how to stop spam in discord, stop discord spam, how to prevent spam in discord, discord spam filter, and discord automod spam want a filter tonight, not a bot bake-off. Native path: Server Settings → AutoMod → Block Spam Content and Block Mention Spam (limit up to 50). You need Manage Server or Administrator. AutoMod cannot be edited on mobile. Invite BetterAntispam and run /antispam settings. Default flood is 5 messages in 5000 ms, 3 warnings, then a 5-minute mute. Caps fire at 70% uppercase. Duplicates need 3 identical messages (2 if they are very short). Free blacklist is 50 words. If they are still typing, /lockdown or /slowmode. If the dump already landed, /purge or /nuke (max 1000, Discord’s 14-day bulk-delete). Join floods are a raid, not this page.
Dark Discord-style AutoMod panel blocking neon spam bubbles before they reach #general

Turn on AutoMod, then /antispam settings

This is the first body section: Discord’s screen, then the command.

Discord AutoMod (desktop)

You need Manage Server or Administrator. Discord’s AutoMod FAQ says rule edits are desktop-only.

  1. Server Settings → AutoMod.
  2. Enable Block Spam Content. Responses: Block message and Send alert. Discord’s safety page says this model is trained on reported spam: free Nitro ads, invite dumps, similar unsolicited copy. It is not perfect. It misses repeated copy-pasta across messages. The Spam Content filter and the Commonly Flagged Words lists are English-only right now.
  3. Enable Block Mention Spam. Set a mention limit, maximum 50 per message. Block message, Send alert, Timeout if you want the extra stick.
  4. Under Custom Keyword, add the phrases you already see. Discord caps each rule at 1000 terms, 60 characters each. Wildcards use *. Regex how-to: Filter Messages Using Regular Expressions. Ready templates: 4 AutoMod rules and keyword blacklist Discord.
  5. Pick a staff-only alert channel. Exempt staff roles, not random VIPs. Administrator and Manage Server are always exempt.
  6. On Roles, turn off Mention @everyone, @here, and All Roles for everyone who is not staff. Discord’s raid 101 lists that as a first move.

AutoMod does not watch DMs. It does not score five messages in five seconds. It does not run a warn-then-mute ladder. It does not flag messages from apps installed on the server.

Add BetterAntispam, run /setup (Administrator), pick a log channel, then /antispam settings (Administrator). There is no website login. Configuration stays in the slash-command panel.

Docs: customer documentation. Support: Discord support server. Feature page: Discord anti-spam.

What /antispam settings actually catches

/antispam settings (Administrator) watches message floods, duplicate messages, excessive caps, overlong messages, ghost pings, link spam, embed spam, reaction spam, and edit spam.

Defaults from the bot’s source:

SettingDefault
Flood trigger5 messages in 5000 ms
Warnings before punishment3
Default punishment5-minute mute
Caps ratio70% uppercase
Duplicates3 identical messages (2 if they are very short)
Word blacklistUp to 50 words on the free tier

Shield unlocks external bot-command spam detection, blacklists over 50 words, and a punishment approval gate where staff confirm before action. Image scanning is /imagefilter settings and is Shield entirely. Upgrade: Shield in the application store.

BetterAntispam detects and responds. It does not prevent every spam message. Leave AutoMod on so the obvious scam never posts. Let the bot handle velocity and repeats AutoMod’s own FAQ says it misses.

/logging settings (Administrator) should point the antispam stream at a channel staff actually read.

Spam versus a raid versus DMs

Use the tool that matches the night.

What you are looking atFirst moveNot this
Same person dumping lines in #general/antispam settings, then /slowmode or /lockdownA new bot
Mentions of half the serverAutoMod Block Mention SpamSlowmode alone
Free Nitro / fake invite textAutoMod Block Spam ContentA timeout on a real member
A join wave of throwaway accounts/antiraid settings, /raidmode enable, Pause InvitesAntispam thresholds
Fresh accounts posting the second they join/verification settings, raise Discord’s verification levelA word list
Ads in chat or profiles/adblock settingsThe flood timer
Scam DMsDiscord DM settings, /dmlock (Manage Server)AutoMod

A raid is joins. Spam is messages. The raid playbook is How to Stop a Discord Raid. DM playbook: stop Discord DM spam. Bot comparison: Best Discord Antispam Bot in 2026.

/antiraid settings (Administrator) watches join rate. Under 50 members, 3 joins in 10 seconds is worth noticing and 5 is a strong signal. Manual default, auto-scale off, is 5 joins in 10 seconds. /raidmode enable (Administrator) is the live switch. Default punishment is kick.

/verification settings (Administrator) has four modes: button, image CAPTCHA, math, hidden word. Default is button.

/adblock settings (Administrator) covers advertising in chat and in profiles.

/antiping settings (Administrator) writes Discord’s own AutoMod keyword rules. Do not run a second ping filter that fights it.

/honeypot settings (Manage Server) is a trap channel no legitimate member should post in. Default action is a softban. Voice traps are Shield.

If they are still typing

Lock or slow the channel before you clean.

Slowmode when the room should stay open. /slowmode (Manage Channels) sets Discord’s per-person cooldown, 0–21600 seconds. Slider how-to: How to Use Discord Slowmode.

Lock when you do not want anyone without an overwrite posting. /lockdown (Administrator) denies Send Messages and Add Reactions to @everyone and snapshots the previous overwrites. One channel is free. all / unlockall are Shield. Guide: How to Lock a Discord Channel.

Purge or nuke after the dump landed. /purge and /nuke (Administrator) take at most 1000 messages. Discord’s bulk-delete API only covers messages under 14 days old. Guide: How to Use the Discord Purge Command.

Do not run two bots deleting the same channel at once.

Five stacked spam tiles hitting a stop gate next to a mute hourglass and a broom clearing leftover messages

Other tools that already filter spam

Keep the one staff already trained on.

ToolWhat it filtersNotes
Discord AutoModKeywords, mention spam, suspected spam contentOnly filter that can block before the message appears
BetterAntispam/antispam settings, /adblock settings, /antiping settingsFree core. No website login
WickSecurity suite, raids and nukesKeep Wick if restore after a wipe is why you opened this tab
DynoAutomod modulesDyno’s FAQ says it has no anti-raid and no anti-nuke
Carl-bot / YAGPDBAutomod and custom rulesUse them if that dashboard is already muscle memory
MEE6Moderator tools on the dashboardKeep if XP already lives there
ProBotAutomod stackNot why you searched this page

Do not stack three flood detectors on the same channel. One warn ladder is enough.

Which tool should you use?

Discord AutoMod first, every server, even if you never add a bot. Block Spam Content and Block Mention Spam. Custom keywords for the phrases you already banned by hand.

BetterAntispam if you want /antispam settings for floods and duplicates, plus /antiraid settings, /raidmode, /lockdown, and /purge without a website login.

Wick if a compromised moderator deleting channels is the nightmare, and you will finish Wick’s setup.

Dyno, Carl-bot, or YAGPDB if staff already live in that automod panel.

MEE6 or ProBot if that dashboard already owns the server and you will not move it.

Do not install a second antispam bot “to be safe.” Tune one.

FAQ

How do I stop spam in Discord?

Server Settings → AutoMod → Block Spam Content and Block Mention Spam → Block message and Send alert. Then invite BetterAntispam and run /antispam settings (Administrator).

Does Discord have a built-in spam filter?

Yes. AutoMod’s Block Spam Content and Block Mention Spam. It can stop a message before it posts. Discord’s FAQ says it misses repeated copy-pasta across messages and does not watch DMs or friend-request spam.

What permission do I need?

AutoMod: Manage Server or Administrator, desktop only. /antispam settings, /setup, /purge, /nuke, and /lockdown need Administrator. /slowmode needs Manage Channels. /honeypot settings and /dmlock need Manage Server.

Will /antispam settings stop a raid?

No. A raid is a join wave. Use /antiraid settings and /raidmode enable (Administrator), plus Pause Invites. Antispam is the chat flood after people are already inside.

Why did AutoMod miss the spam?

The Spam Content filter is English-only and trained on reports. Discord says it misses nonsense across several messages. That is why you still run /antispam settings.

How do I clean the channel after spam?

/purge or /nuke (Administrator), limit 1–1000. Messages older than 14 days delete one at a time. Lock first if they are still typing.

Is the word blacklist free?

Yes, up to 50 words. Over 50 is Shield. AutoMod custom keywords are a separate list and stay free.

Can I set this up on mobile?

You can run slash commands on mobile. You cannot edit AutoMod rules on mobile. Discord’s FAQ is explicit about that.

Final Verdict

How to stop spam in Discord is AutoMod first, then a flood command. Server Settings → AutoMod → Block Spam Content and Block Mention Spam. Invite BetterAntispam, run /setup, then /antispam settings. Use /slowmode or /lockdown while they type. Use /purge after. Use /raidmode when the problem is joins. Keep Wick or Dyno if they already own that job.

— Adam

Add BetterAntispam

Sources

BetterAntispam on Nick LaunchesFeatured on ToolFameFeatured on Startup FameVerified on DANG!ToolpilotFeatured on SaaSGrowFeatured on ShowMeBestAIFazierSubmit AI ToolsFeatured on Twelve ToolsFeatured on Wired BusinessFeatured on Findly.toolsListed on Turbo0Featured on SaaSFameFeatured on neeed.directoryFeatured on Dofollow.ToolsGood AI ToolsAI Agents DirectoryAura++SideProjectorsFoundrListShinyLaunchStartup FastNextGen ToolsFind-Us-HereDeepLaunchAcid ToolsStartupBaseNewToolUFindWhatsYourHoursOpenHuntsMarketingDBStartup InspireStarter BestFeatured on aitoolfame.comFeatured on IndieHuntShinyLaunchLaunched on LaunchPandaFeatured on WhatsthebigdataFeatured on Yo.directoryAs seen on Launch Llama Newsletterbetterantispam.com Domain RatingVerified DR - Verified Domain Rating for betterantispam.comFeatured on ToolfioBetterAntispam | Firsto LaunchFeatured on DailyPingsFeatured on DanielLaunchesFeatured on ShipBoostFeatured on AgentWork.ToolsFeatured on SaaSCityFeatured on WayfindioFeatured on DodoDirectoryFeatured on TinyLaunchpadFeatured on ListMySaaSVerified on directreeFeatured on Submit HuntFeatured on VibeCodingListFeatured on NoonlaunchFeatured on LaunchItListed on MaidensailVerified on Endors — BetterAntispamMarked on IndieAscentListed on CurlShipListed on PublishYourSaaS