Skip to content
Lizbot

For your server

Build a new serverPick a template, done in minutesSwitch from another botBring levels, role menus and commands alongProtect your serverAutoMod, raid protection, backupsGrow your communityLeveling, welcome, giveawaysGaming and MinecraftLFG, squad voice, server status

Who it’s for

CreatorsSupportClubsStudy

Features

#moderationCases, AutoMod, raid protection#ticketsSupport like in a helpdesk#levelingXP, rank card, reward roles#backupsSave and restore#server-templatesReady-made structures with roles and permissions

See all features

For organisations and company support: tickets like in a helpdesk

Pricing
Guides112 guides in 7 topicsFree toolsnewEmbeds, timestamps, permissions, rulesNewsWhat has changed in LizbotPartnersAdDiscounts and offers from our partnersSupportQuestions, ticket via the websiteStatusIs everything running?

Rather ask directly? In the support Discord

Community: support DiscordCommunity
Log inAddAdd to DiscordAddAdd to Discord

For your server

  • New server
  • Switch
  • Protect
  • Community
  • Gaming

Who it’s for

  • Creators
  • Support
  • Clubs
  • Study

Product

  • Features
  • Pricing
  • Organisations

Resources

  • Guides
  • Toolsnew
  • News
  • PartnersAd
  • Support
  • Status
Support DiscordAsk questions, see news first
Add to Discord
Log in
GuidesModeration & safety
Moderation & safety

How to stop spam bots on Discord and keep them off your server

How to stop spam bots on Discord: spot them, block them with spam, duplicate and mention filters, lock them out with verification and ban them in bulk.

  • 12 min read
  • 7 steps
  • Updated 6 November 2026
Contents
  1. How to spot spam bots
  2. What Discord provides on its own
  3. 1. Turn on AutoMod in Lizbot
  4. 2. Set up the spam and duplicate filter
  5. 3. Limit mass mentions, invites and links
  6. 4. Block phishing and scam links
  7. 5. Verification as a bouncer
  8. 6. Spot suspicious joins
  9. 7. Clean up after a wave
  10. Which level of protection suits your server?
  11. Checklist
  12. Common mistakes
  13. FAQ

Spam bots are not real bots with a bot badge. They are ordinary accounts controlled by a script. They join, post free Nitro, crypto giveaways or invites to other servers and send your members direct messages. Often this happens in several channels at once, and by the time someone on your team reacts, the first members have already clicked a link.

To stop spam bots on Discord, you therefore need two things: filters that catch spam within seconds, and a door that automated accounts cannot get through in the first place. In this guide you set up both, with Discord's own tools and with Lizbot, and learn how to clean up quickly after a wave.

How to spot spam bots

No single sign is proof, but several together are a clear signal:

  • Very new account: created only hours or a few days ago
  • No profile: default avatar, no bio, a name that looks randomly generated
  • Active immediately: the first message arrives seconds after joining, often unrelated to the conversation
  • Same message everywhere: the same text lands in several channels in quick succession
  • Lots of mentions: @everyone attempts or dozens of pings in one message
  • Typical bait: "free Nitro", "Steam gift", "I accidentally reported you", crypto or investment offers, shortened links
  • Several newcomers through the same link: a series of fresh accounts that all use the same invite

Besides these classic throwaway accounts there are hijacked accounts. They are old, have a profile and have been members for a long time, but suddenly post scam links. Verification does nothing against them, only a filter that looks at the content helps. That is why you need both layers of protection.

What Discord provides on its own

Before you set up a bot, use the basics Discord offers for free:

  • Verification level: in the Server Settings, set at least Medium. An account then needs a verified email address and must have been registered for longer than 5 minutes before it can post.
  • Discord's AutoMod: it has its own rules against suspected spam and mention spam. The advantage: Discord blocks the message before it appears.
  • Security Actions: through the server menu or the member list, your team can pause invites and direct messages between members who are not friends for a chosen period. This is the emergency brake while a wave is running. Only people with the Manage Server permission can pause invites. Discord explains the details under Activity Alerts and Security Actions.
  • Direct messages from server members: every member can turn off direct messages from members of your server in that server's Privacy Settings. Mention this in your rules, because no bot inside the server can do anything about DM spam.

These tools are a good foundation. What is missing: spam spread across several messages, identical messages in a row, scam lists and a case file for every punishment. That is where Lizbot comes in.

1. Turn on AutoMod in Lizbot

Open your server in the dashboard and go to AutoMod. On the Overview tab, turn on AutoMod enabled and use Load AutoMod level to apply the Standard level. This fills in the word filter, invite links, mass mentions, spam filter and raid protection with sensible values. What each rule does is explained in the guide Set up Discord AutoMod.

Then pick an AutoMod log channel that only your team can see. Every match lands there with the message, the rule and the action. Without a log you notice neither how much spam is being caught nor whether a filter is accidentally hitting real members.

Also check under Settings that your Admin roles and Mod roles are filled in. AutoMod never acts against these roles. If they are missing, Lizbot treats your team like ordinary members.

If you want certain messages never to appear at all, turn on Sync with Discord's native AutoMod. Lizbot then also creates your word filter and mention spam protection as Discord rules.

2. Set up the spam and duplicate filter

The most important filter against spam bots is on the Spam & raid tab in the Spam section. It is included in the Free plan. You set two limits:

  • Messages within a number of seconds: how fast a member may post. The Standard level uses 6 messages in 5 seconds.
  • Identical messages: after how many identical messages Lizbot steps in. The default is 3.

Turn on Also delete the earlier spam messages. On a hit, Lizbot then removes not just the last message but also the rest of that account's messages from the time window. That is exactly what you need against bots that spread their text across five channels at once.

An example: a fresh account posts "Free Nitro for 3 months" with a link in #general, #gaming and #memes. On the third identical message the duplicate filter kicks in, and all three messages disappear together.

Under Actions you choose what happens. For spam, Delete plus Timeout is a good start; set the Timeout duration below it. Every punishment is saved as a case, so your team can look it up later.

Lizbot sets this up for you

Moderation and AutoMod for Discord

Every warning, timeout and ban gets a case number and a reason. Your team sees at a glance what has already happened with a member.

Set up Moderation with LizbotThe Free plan is free forever. After adding Lizbot you land right in the matching settings.

3. Limit mass mentions, invites and links

On the Rules tab you find three more filters that spam bots typically trigger:

  • Mass mentions: for Maximum mentions per message, a value of around 5 to 6 suits most servers. Spam bots like to ping dozens of members at once so their message gets seen.
  • Invite links: enable the rule and turn on Allow invites to this server. Ads for other servers get removed, while your own invites stay allowed.
  • Links: for open communities, the Blacklist mode together with phishing protection is usually enough. A Whitelist is worth it for servers for children or companies.

With Exempt channels and Exempt roles you allow targeted exceptions, for example links in a channel for clips, instead of switching the filter off everywhere.

To stop spam bots from pinging the whole server in the first place, take the @everyone and @here permission away from regular roles. The guide Disable @everyone shows how.

4. Block phishing and scam links

Most spam bots want someone to click a link. On the Phishing tab, turn on Use public scam lists. Lizbot updates these lists regularly, so you have nothing to maintain. Lizbot also detects lookalike addresses that are easy to mistake for real Discord or Steam domains. Under Custom blocked domains you add sites that keep showing up on your server.

The Word filter tab also has the Scam phrases word pack with typical scam tricks such as free Nitro, Steam gifts or "I accidentally reported you". It also catches messages without a link that are meant to build trust first.

From the Pro plan, the AI scam shield on the Scam shield tab joins in. A pre-filter picks suspicious messages, for example those with unknown links, invites to other servers or free Nitro bait, and only those are checked by an AI. For the first 7 days the shield only observes and writes to the AutoMod log what it would do. With the Correctly detected and False alarm buttons it gets to know your server. Pro includes up to 500 checks per day, Studio up to 3,000.

5. Verification as a bouncer

Filters clean up after a bot has posted. Verification makes sure it cannot post in the first place. New members first see only one channel and get access to the rest after a short step. All verification methods are included in the Free plan.

In the dashboard under Verification, turn on Enabled and choose the Role after verification. Under Method you have three options:

MethodKeeps outSuits
Button in Discord (one click)simple bots that only postmost communities
Web page with captchaautomated accounts that also click buttonspublic servers with a bot problem
Code by emailalmost everything, but needs a real addressschools, clubs, companies

If you keep getting spam despite button verification, switch to the Web page with captcha. The member signs in there with their Discord account and solves a captcha (Cloudflare Turnstile). For real people this takes a few seconds.

Also set a Minimum account age. A value of 3 to 7 days keeps out most throwaway accounts without slowing down genuine newcomers much. How to prepare roles and channel permissions for this is explained in detail in the guide Set up Discord verification.

6. Spot suspicious joins

On the Alt accounts tab, Lizbot rates every join. Very new accounts, a missing avatar, typical default names and several new accounts through the same invite make an account suspicious. Turn on Treat several new accounts from the same invite as suspicious, because that is exactly how spam bots often join in a series. How to track down alt accounts and ban evasion beyond that is covered in the guide Detect Discord alt accounts.

Under Action you choose Alert only, Quarantine or Kick. To start with, Alert only is the safe choice: Lizbot posts the account with buttons, and your team decides. For quarantine you need a quarantine role, which you set under Moderation on the Quarantine tab.

Under Recent joins you see every join with the account age, invite code, the ID of the member who created the invite and the reason for the rating. With suspicious only you filter for the conspicuous ones. This shows you which link the bots are coming through, and you can then delete that link in the Server Settings under Invites.

If many accounts arrive at once, it is more likely a raid. How to set up the automatic lockdown is covered in the guide Set up raid protection.

How quarantine works in detail and how to lift it again is explained in the guide Quarantine instead of a ban.

7. Clean up after a wave

If spam got through, clean up in three steps.

Delete messages: with /channel purge you delete up to 100 messages at once that are at most 14 days old. With the member option you hit only one account, with contains only messages with a specific text, such as a domain. This way you remove the spam precisely without deleting normal conversations. All filters and limits for cleaning up are in Bulk delete Discord messages.

Remove individual accounts: /mod softban kicks a member and deletes their messages from the last 7 days. This is handy when an account has already posted everywhere. For a hijacked account of a real member, /mod quarantine add is the better choice: Lizbot removes all roles until the person has their account back. /mod quarantine remove then restores the roles.

Ban many bots at once: in the dashboard under Cases, admins open the Mass action. Choose Ban, paste up to 200 IDs into User IDs, one per line or separated by commas, and enter a Reason, such as "Spam bots on 29 Oct". To confirm, type "BAN". Every ban is saved as a separate case with the reason. You can see which accounts are affected in the Recent joins list, then copy the IDs in Discord. If you accidentally caught a real member, take them back out with the Unban action.

The mass action is included in the Free plan. More on working with cases and roles in your team is in Build a moderation team and on the Moderation page.

If the spam arrives as images from hacked accounts, Lizbot can detect and remove it automatically. More on this in the guide Stop image scams from hacked accounts.

Which level of protection suits your server?

SituationRecommendation
Small, private serververification level Medium, phishing protection, spam filter
Public server with occasional spamplus button verification with minimum account age, invite filter
Server in public listings, daily spamweb page with captcha, alt accounts on Alert only, sync with Discord
Lots of links and scam attempts despite filtersAI scam shield (Pro)

Checklist

  • Discord verification level at least Medium
  • AutoMod enabled, Standard level loaded, log channel chosen
  • mod and admin roles filled in under Settings
  • spam filter with identical messages and earlier-message deletion on
  • mass mentions limited, invites to other servers blocked
  • public scam lists and the Scam phrases word pack active
  • verification with minimum account age set up
  • your team knows /channel purge, /mod softban and the mass action

Common mistakes

  • Filters only, no verification: AutoMod then deletes the same kind of spam every day instead of the bots staying out.
  • Verification only, no filters: hijacked accounts are verified long ago. Only looking at the content helps against them.
  • Spam limit too low: at 3 messages in 10 seconds, active members in a conversation quickly end up in a timeout. Start with the default values.
  • Instant ban as the action: false alarms cost you real members. Delete plus timeout is enough to start with; do bans in bulk after a review.
  • Not deleting the invite link: if the bots come through a specific link, they keep coming until it is gone.
  • Lizbot role too low: if it sits below the verification or quarantine role, Lizbot cannot assign those roles.

FAQ

Can a bot stop spam bots from sending my members direct messages?

+

No, direct messages bypass your server. But you can keep the bots out with verification, pause direct messages through Discord's Security Actions in an emergency and recommend that your members turn off direct messages from server members.

Is Lizbot's spam filter free?

+

Yes. The spam, duplicate and mention filters, phishing protection, all verification methods, alt account detection and the mass action are included in the Free plan. The AI scam shield is part of Pro and Studio.

Button or captcha: which keeps spam bots out better?

+

The button is enough against simple bots that only send messages. If the bots also click buttons, the web page with captcha is much stronger. Combine either with a minimum account age of a few days.

Why doesn't AutoMod act against my team?

+

Mods and admins are always exempt. Which roles count is set in the dashboard under Settings in Admin roles and Mod roles. To test, you therefore need a second account without a team role.

How do I get the user IDs for the mass action?

+

In Discord, turn on Developer Mode under Advanced in the App Settings. Then right-click the member and choose "Copy User ID". Every way to find IDs is shown in the guide Copy a Discord ID. You can tell which accounts belong to the wave from the Recent joins list on the Alt accounts tab in the dashboard.

Questions? Join our Discord

On the Lizbot server the team and other server admins help you with the setup. It is also where new features show up first.

Join Discord

Matching Lizbot features

  • Moderation and AutoMod for DiscordEvery warning, timeout and ban gets a case number and a reason. Your team sees at a glance what has already happened with a member.
  • Verification bot for Discord with captchaNew members first only see the verification channel. They get access with a button, on a web page with a captcha or with a code by email.

More guides

  • Moderation & safety9 min read

    Set up Discord AutoMod: block bad words, spam, links and phishing

    Set up Discord AutoMod: word filter, spam protection, links, invites and phishing. Discord's own AutoMod vs. a bot AutoMod compared, with recommended settings.

    Read more
  • Moderation & safety8 min read

    Set up Discord verification: button, captcha and rules acceptance

    Set up Discord verification with a button, captcha or email code, have members accept your rules and keep alt accounts out. Step by step with Lizbot.

    Read more
  • Moderation & safety8 min read

    Set up Discord raid protection: protect your server from raids, spam and nukes

    Set up Discord raid protection: detect join waves, lockdown, alt accounts, anti-nuke and backups. Protect your server and respond right in an emergency.

    Read more
Matching toolRules generatorPut server rules together from proven building blocks, adapt them to your community and copy them nicely formatted. Free in your browser, no sign-up.

Let Liz handle it for you

Invite Lizbot, set it up in the dashboard, done. The Free plan stays free.

Add LizbotOpen dashboard

Rather ask first? In the support Discord

Contents

  1. How to spot spam bots
  2. What Discord provides on its own
  3. 1. Turn on AutoMod in Lizbot
  4. 2. Set up the spam and duplicate filter
  5. 3. Limit mass mentions, invites and links
  6. 4. Block phishing and scam links
  7. 5. Verification as a bouncer
  8. 6. Spot suspicious joins
  9. 7. Clean up after a wave
  10. Which level of protection suits your server?
  11. Checklist
  12. Common mistakes
  13. FAQ
Add Lizbot
Lizbot

Hosted in the EU. No tracking cookies. Export or delete your data at any time.

Support DiscordAsk questions, see news first, share ideas.

Product

  • Features
  • Pricing
  • Switch from other bots
  • Gaming and Minecraft
  • For organisations
  • Setup service

Resources

  • Guides
  • Free tools
  • News
  • Support
  • Status
  • Refer friends
  • Partners and offersAd

Legal

  • Imprint
  • Privacy
  • My data
  • Terms
  • Data processing
Cancel your subscription hereWithdraw from contractReport content

Lizbot is an independent service and is not affiliated with Discord Inc.