Back to blog

BetterAntispam TeamHow we write these7 min read

How to Prevent Raids on Discord (10 Settings That Work)

Ten settings that prevent Discord raids in two groups: six Discord settings such as verification level, Raid Protection and AutoMod, and four bot settings such as a captcha gate, minimum account age, join-rate detection and a raid plan

To prevent raids on Discord, change 10 settings. Six are built into Discord: set the verification level to Medium or High, turn on Raid Protection, turn on AutoMod's Block Mention Spam rule, take the @everyone mention permission away from normal roles, set the explicit media filter, and limit who can create invites. Four need a bot: a captcha verification gate, a minimum account age, join-rate detection, and a raid plan your moderators can run in one minute. In BetterAntispam the bot settings are /verification settings and /antiraid settings (both require Administrator), and they are free. The easiest single step is the verification level. The most effective is the captcha gate.

Editorial disclosure: This guide is published by BetterAntispam. The six Discord settings come from Discord's own raid guide and help pages, linked below. The bot defaults come from the bot's source code.

Ten settings that prevent Discord raids in two groups: six Discord settings such as verification level, Raid Protection and AutoMod, and four bot settings such as a captcha gate, minimum account age, join-rate detection and a raid plan

The 10 settings at a glance

#SettingWhereWhat it stops
1Verification levelServer Settings → Safety SetupBrand-new accounts chatting at once
2Raid ProtectionServer Settings → Safety SetupJoin raids Discord detects
3Block Mention SpamServer Settings → AutoModMass pings
4@everyone permissionServer Settings → RolesPings to the whole server
5Explicit media filterServer Settings → Safety SetupShock images
6Create Invite permissionServer Settings → RolesInvite links spread by members
7Captcha verification gate/verification settingsScripted accounts
8Minimum account age/antiraid settingsAccounts made for the raid
9Join-rate detection/antiraid settingsWaves of joins
10Raid planStaff channelSlow reactions

A raid is a group of accounts that join together to spam, ping or post shock content. If you need the basics first, read what is a Discord raid. If you are being raided right now, go to how to stop a Discord raid.

Discord's built-in settings

These six cost nothing. Discord lists most of them in How to Protect Your Server from Raids 101.

1. Set the verification level to Medium or High

Go to Server Settings → Safety Setup → Verification Level. The level decides what a new member needs before they can send messages.

LevelRequirement
LowA verified email
MediumA verified email and an account registered for more than 5 minutes
HighThe same, plus more than 10 minutes as a member of your server
HighestA verified phone number

Discord recommends at least Low for public servers. Medium blocks accounts made seconds ago. High gives you 10 minutes to notice a wave before any of them can type. Keep Highest for an active raid, because it blocks real people without a phone number. Details: Discord verification level.

2. Turn on Raid Protection

Go to Server Settings → Safety Setup → Raid Protection. Discord uses machine learning to detect join raids. When it detects one, it sends an alert to a channel you choose and requires a CAPTCHA from new joiners for the next hour. Discord says this is rolling out gradually to Community servers, so you may not have it yet.

3. Turn on AutoMod's Block Mention Spam

Go to Server Settings → AutoMod. A mention raid is when raiders spam @username and @role pings. Turn on Block Mention Spam, set a mention limit that fits your server, and enable Block message, Send alert and Timeout member.

Add a Custom Keyword rule with phrases raiders have used against you before. Discord suggests starting it on Send alert only, so it warns you without blocking normal messages. Full setup: Discord AutoMod setup.

4. Take away @everyone mentions

Go to Server Settings → Roles, select each role that is not staff, and turn off Mention @everyone, @here, and All Roles. A raider who cannot ping everyone cannot wake up your whole server. Discord recommends this permission only for roles you trust.

5. Set the explicit media filter

Go to Server Settings → Safety Setup → Explicit Media Content Filter and set it to Medium or High. Raiders often post explicit images to shock members into leaving. Community servers have the High filter on by default.

6. Limit who can create invites

In Server Settings → Roles, turn off Create Invite for @everyone and keep it for staff. Raids are organized by sharing an invite link. With fewer links in circulation, you know which link a raid came through, and you can delete it.

Settings that need a bot

Discord's settings slow a raid down. They do not check each account or count joins for you. Add BetterAntispam and run /setup (requires Administrator) to turn on the next three together, or set them one by one.

7. Add a captcha verification gate

Run /verification settings (requires Administrator) and turn it on. It is off by default. New members see only a verify channel until they pass a check, so a raid account that joins has nobody to spam.

Choose the Website Captcha or the image captcha. The one-button check is easy for people, but a script can press a button. Then choose what happens to accounts that never verify: kick, timeout, or a quarantine role. Guides: Discord captcha bot and Discord verification bot. Product pages: verification and captcha.

8. Set a minimum account age

Run /antiraid settings (requires Administrator) and open Account age limits. You can remove every account newer than an age you choose, for example 24 hours or 7 days, and set a separate age that applies only during a join wave. Both are off by default.

Raid accounts are usually new. A real member with a new account can come back later. Start with a short age, because a long one turns away real newcomers too.

9. Turn on join-rate detection

/antiraid settings also watches how fast accounts join. The limit scales with server size. In a server under 50 members, 3 joins in 10 seconds is worth noticing and 5 is a strong signal. With auto-scale off, the default is 5 joins in 10 seconds.

Each joining account also gets a suspicion score, with three presets: strict, balanced and lenient. Suspected raiders can be sent a captcha with 120 seconds to solve it. Actions include kick, ban, timeout and an automatic lockdown. Longer guide: Discord anti-raid bot. Product page: anti-raid.

10. Write a raid plan

Most raid damage happens in the first minutes, while moderators work out what to do. Pin this in your staff channel and decide who does each step.

StepActionWho can do it
1Server Settings → Invites → Pause InvitesManage Server
2/raidmode with action Enable. Every new join is kicked by default. Ban and timeout are optionsAdministrator
3Slowmode on the channels being spammed, or /lockdown channelManage Channels, Administrator
4Raise the verification level to High or HighestManage Server
5Server menu → Report RaidBan Members or Kick Members, desktop, Community servers
6Remove the raid accounts, then undo steps 1 to 4Moderators

Discord's Security Actions, in the server menu, can pause invites and pause DMs between members who are not friends. Discord explains it in Activity Alerts + Security Actions. For channel locks, see how to lock a Discord channel and the lockdown page.

Discord's guide adds one more point that is not a setting: have a trusted moderator online. A setting cannot ban the one raider who got through.

What these settings do not stop

ProblemWhy the 10 settings miss itWhat to use
A slow raid, one account per hourIt never reaches a join-rate limitCaptcha gate, honeypot channel
Aged or bought accountsThey pass the account age and verification levelCaptcha gate, join-rate detection
A hacked moderatorThey are already inside with permissions/antinuke settings, anti-nuke guide
Spam in private messagesServer settings do not filter DMsSecurity Actions, members turning off Direct messages

Honest limit: no setting or bot prevents every raid. A determined group with old accounts and people solving captchas by hand will get some accounts in. What these settings change is how many get in, how much they can do, and how fast you can remove them.

For everything beyond raids, read how to secure a Discord server and how to secure your Discord server from bots.

FAQ

What is the easiest way to prevent raids on Discord?

Raise the verification level to Medium or High in Server Settings → Safety Setup. It takes a few seconds and stops brand-new accounts from chatting right away. For stronger protection, add a captcha verification gate.

What verification level stops raids?

High is the best everyday choice, because new members must wait 10 minutes in your server before they can type. Use Highest, which needs a verified phone number, only during an active raid.

Does Discord have built-in raid protection?

Yes. Raid Protection, under Server Settings → Safety Setup, detects join raids, sends an alert, and requires a CAPTCHA from new joiners for an hour. Discord says it is rolling out gradually to Community servers.

Do I need a bot to prevent raids?

Not for the basics. Verification level, AutoMod and permissions are built into Discord. A bot adds what Discord does not: a captcha for every new member, a minimum account age, and automatic action when many accounts join at once.

What is the best anti-raid bot for Discord?

Choose one with a captcha gate, a minimum account age and join-rate detection. BetterAntispam has all three on its free plan. Use one security bot, because every extra bot with high permissions is another risk.

Can raids be reported to Discord?

Yes. Open the server menu and choose Report Raid. You need the Ban Members or Kick Members permission, and it is only available on desktop in Community servers.

Why does my server keep getting raided?

Often because an invite link is public or has been shared somewhere raiders look for targets. Limit who can create invites, delete the link the raiders used, and add a verification gate so joining gives them nothing to do.

Core is free · Setup in Discord

Ready to protect your server?

Invite BetterAntispam. Core antiraid, antispam, and antinuke are free. Configuration is slash commands inside Discord.

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