A raid is when dozens of accounts, usually bots, join a server at once and flood the channels with spam, slurs, shock content or mass mentions. The goal is to wreck the conversation and drive members away. Set up protection in advance: during an attack there will be no time for it.
Member Verification Level
The first barrier is the verification level. You will find it under Moderation or Safety in Server Settings (the name depends on the interface version). Levels range from no verification to the strictest: a verified email, a minimum account age, time on the server before the first message and a verified phone number.
For most public servers a medium level makes sense: a freshly created account cannot post right away. During an attack you can raise it to the highest level and lower it afterwards. Keep in mind that overly strict verification scares off real newcomers too, so keeping it at maximum all the time is not a good idea.
AutoMod and Filters
The built-in AutoMod (at the time of writing available to servers with Community enabled) covers raiders' most common tricks:
- spam blocking - suspicious repetitive messages are cut off automatically;
- mention limit - a message with too many mentions is blocked, and its author can be timed out instantly;
- banned word lists - your own words plus preset lists from Discord;
- alerts - triggers are posted to a moderator channel.
In the current version Discord can also detect a suspicious surge of new members and warn moderators. Turn these alerts on and point them to a channel your moderators actually read. If AutoMod is not enough, add a moderation bot, but with minimal permissions - details in our guide to the best bots for your Discord server.
@everyone Permissions and Slow Mode
Every member has the @everyone role, including bots that just joined. The less it can do, the less damage a raid causes. Check under Roles:
- mentioning @everyone, @here and all roles is disabled;
- creating invites is disabled if only moderators should share links;
- attaching files and embedding links in general channels is off - better to grant these through an activity role;
- creating public threads is off in channels that do not need them.
Slow mode is enabled in a specific channel's settings and limits how often a single member can post. Even a short interval in the main chat makes spam flooding nearly useless while barely affecting normal conversation.
Moderator 2FA and Trusted Roles
A raid can also come from inside: if a moderator's account is hijacked, the attacker can ban members and delete channels. So in the server's safety settings, require two-factor authentication for moderation actions. Moderators without 2FA will not be able to ban, kick or delete messages until they turn it on.
The rule is simple: moderation permissions go only to people you know, and only with 2FA enabled. Administrator goes only to the owner and one or two of the most trusted people.
It also helps to give newcomers the basic role only after they accept the rules or press a button - one more filter against bots that join and start posting immediately.
What to Do During a Raid
If an attack is already under way, work through these steps:
- Pause invites under Invites in Server Settings - new accounts will stop joining through any link.
- Raise the verification level to the highest.
- Lock general channels: remove Send Messages from @everyone or set a long slow mode.
- Remove the raiders: on desktop, the Members page lets you sort by join date and ban everyone who joined during the attack, deleting their recent messages along the way.
- Tell your members in the announcements channel that the situation is under control.
You can ban and change permissions from your phone too, but bulk actions are much easier on a computer. After the attack, delete old permanent links and create new ones - see how to make a Discord invite link.
Protection as a Condition for Growth
The more actively you promote a server, the more people see its link, including those who come to break things. Good protection lets you post invites in directories and on social media without worrying that the first surge of new members will turn into a raid. Check your settings once, write down an action plan for your moderators and get back to growing - the overall plan for attracting members is in our guide to Discord server promotion.