On Discord, a raid is when a large number of users or bots join a server at once for disruptive or malicious intents and purposes. Raiding is against our Terms of Service guidelines.
While there are different types of behavior and activities that raiders engage in, there are a number of steps you can take to prevent raids of all types before they occur, or minimize damage as they’re happening.
Raid prevention tips:
1. Turn on AutoMod.
Go to Server Settings > AutoMod
AutoMod lets you detect and block undesirable messages before they’re ever posted. Prevent raids from happening by using AutoMod to proactively identify potential raiders via alerts and block their messages from being posted in your server.
Here’s how:
Create your own Custom Rules to detect raiders - Enter keywords or phrases you think raiders may post in your server - or what they may have posted in the past - in the event of a raid. Turn on the “Send alert” response to receive alerts that allow you to identify potential raiders, and the “Block message” response to have AutoMod prevent raiders’ messages from being posted in your server when containing any of your keywords.
Tip: You can set up AutoMod to work as an alert system for potential raiders without resorting to blocking people’s messages from the get-go by turning on “Send alert” and turning off “Block message” in your rules.
Customize your Block Mention Spam rule - Mention raids are when raiders join your server to annoy or expose your members to undesirable content by spamming mentions via @usernames or @roles. To minimize the likelihood of raiders pulling this off successfully, turn on AutoMod’s “Block Mention Spam” rule.
Set a mention limit you think works best for your server, and enable “Block message,” “Send alert”, and/or “Timeout member” responses. This way, members can’t post messages containing an excessive number of unique mentions.
2. Disable @here and @everyone permissions.
Go to Server Settings > Roles > Select a non-Admin or non-Moderator role > Toggle off “Mention @everyone, @here, and All Roles.”
This prevents raiders from being able to spam mentions to your entire server and/or particular channels. We recommend only granting this permission to people with roles you trust (e.g. Administrators, Moderators).
3. Set up Raid Protection alerts.
Go to Server Settings > Safety Setup > Raid Protection
Our Raid Protection system provides protection from join-raids by using machine learning to evaluate various signals that are likely indicative of an upcoming raid and taking automated actions to safeguard your server. Set up Raid Protection alerts to stay notified whenever a raid is detected.
When a raid has been detected, we’ll automatically take action against suspicious joiners by sending you an alert to a dedicated channel of your choice and require CAPTCHA for new joiners within the next hour to prevent raiders from joining your server. You can disable CAPTCHA at any time.
Left: Set up to receive alerts when a possible join-raid has been detected in your server.
Right: What an alert looks like in a text channel
We're gradually rolling out Raid Protection alerts to community servers! At this time, availability may be limited.
4. Set a Verification Level.
Go to Server Settings > Safety Setup > Verification Level
To prevent raids on your Discord server, you can set a Verification Level in the Server Settings. Verification Levels require users to verify their email address or phone number before sending messages, which can help prevent bots and spam accounts from joining your server. We recommend setting the Verification Level to "Low" for basic security on public servers.
5. Set your Explicit Media Content Filter to Medium or High.
Go to Server Settings > Safety Setup > Explicit Media Content Filter
Raiders may often try to raid your server and post explicit content to shock, harass, or spur your members to leave. Enable this filter to automatically scan and block explicit media from being posted in your server. Community-enabled servers have the High Explicit Media Content filter on by default.
6. Find and recruit moderators. It’s always useful to have a moderator you trust online to immediately prevent or de-escalate a raid should one occur. Our Identifying and Assigning Moderators article covers best practices you should know on finding and recruiting moderators.
Being raided? Here are ways to de-escalate the raid:
1. Pause invitations to your server.
Go to Server Settings > Invites > Pause Invites
Prevent incoming raiders from joining your server through your invite links for as long as needed by pausing your invite links. Pausing invites to your server is a great means of crowd control if your server is being raided so you can tend to your server and de-escalate a raid without having to resort to drastic measures like deleting your invite links. You can unpause at any time.
2. Enable Slowmode.
Right-click a channel or press the cog wheel next to the channel name > Edit Channel > Overview > Slowmode
If raiders have made their way in and are spamming large volumes of messages, turn on Slowmode to limit the number of messages they’re able to send in a channel based on a timed cooldown. This will help you reduce the chaos and make it easier for you to weed out bad actors.
3. Adjust your AutoMod rules as needed.
Go to Server Settings > AutoMod
During a raid, it’s important to identify the raiders, prevent them from posting in your server, and remove them as soon as possible.
If your server is being raided, consider fine-tuning your AutoMod rules as such:
- Add words or phrases you see raiders spamming to one of your Custom Rules, and turn on the “Block Message” response to prevent raiders’ messages from being posted.
Identify raiders and remove them by turning on “Send alerts” to receive alerts containing who-what-where information on raiders.
Enable the “Timeout member” response to temporarily disable a raider’s ability to send messages or join voice channels. - Depending on what raiders are doing, consider enabling the “Block Message,” “Send alerts” and “Timeout member” responses across all of your other AutoMod rules.
- Adjust your “Block Mention Spam” filter - Set a lower, more restrictive mention limit if raiders are spamming mentions in your server. Note that your mention limit means that members can’t exceed that number of unique mentions per individual message.
4. Increase your Verification to High or Highest.
Go to Server Settings > Safety Setup > Verification Level
To strengthen the security of your Discord server during a raid, you can increase the Verification Level in the Server Settings.
Higher Verification Levels require users to verify their email address, phone number, and/or have been a member of the server for a certain amount of time before they can interact in the server. This can give you time to focus on de-escalating the raid without worrying about incoming raiders. Once the raid has been stopped, you can return your Verification Level to its prior settings.
5. Report the raid to Discord.
Click on your server name to open the server dropdown menu > Report Raid
Be our partner-in-crime (or against crime…?) in combating raids by reporting them directly to us from your server dropdown menu. If your Community is being raided, you can help us in our moderation efforts by reporting the situation as we’ll be regularly reviewing your raid reports to develop tooling designed to prevent future raids.
To use Report Raid, you must have “Ban Members” or “Kick Members” permissions. Only accessible on the Desktop client and in Community servers.