How to Stop Raids on Discord

Raids are floods of accounts that join together to spam, ping and scare people off. To stop raids, raise Discord's own safety settings, screen new accounts as they join, lock down automatically when joins spike, and filter spam and mass mentions. This guide walks through each layer, then what to do while a raid is going on.

Updated

How raids usually work

Most raids follow the same pattern: dozens of new or freshly made accounts join through a public invite within a minute, then post the same message, ping @everyone or as many people as they can, or drop scam links. The accounts often share traits: created on the same day, no profile picture, names like user_4821. Each layer below targets one of those traits, so even a raid that beats one layer meets the next.

Start with Discord's own settings

Discord gives every server some protection. Names and places change between Discord versions, so look in Server Settings under the safety or moderation section if a name below differs.

  • Verification level. Set it to Medium (accounts older than 5 minutes) or High (also 10 minutes in your server). Throwaway accounts have to wait before they can post.
  • Discord's AutoMod. Discord's built-in AutoMod can block keywords and mention spam before the message is posted. Some of its rules may need Community to be turned on.
  • Pausing invites. Recent versions of Discord let you pause invites for a while, which stops anyone new from joining. Look for it under Invites in Server Settings.
  • Role permissions. Take Mention @everyone, @here and All Roles away from @everyone, and keep link and file permissions for trusted roles if you can.

Screen accounts as they join

Voinly's Join guard runs New member checks on everyone who joins, and each check you leave off is skipped:

  • Minimum account age: accounts created more recently fail.
  • Require a profile picture: members still on Discord's default avatar fail.
  • Auto-generated usernames: patterns such as underscore and 3 or more digits (user_043) or only numbers.
  • Suspicious names: words or wildcard patterns matched against the username and display name, ignoring case and look-alike letters.
  • Accounts created on these days, Server tags and Block unverified bots.

Pick a gentle action first

Under What happens, the Action can be Only log it, Give a role, Time out, Kick or Ban. Time out (the default) or a quarantine role keeps a wrongly flagged member in the server, so you can let them in. Kick and ban also remove real people when a check misfires. Add trusted people and partner invites under Exceptions.

Turn on automatic raid mode

Under Raid protection, Detect raids starts raid mode when too many people join too quickly. You set the Joins (3 to 500) and the window they arrive Within. During raid mode Voinly can:

  • post in an Alert channel and ping Roles to ping when it starts and ends;
  • give new members a role, time them out, kick or ban them (During a raid, new members get), optionally also the members who set it off;
  • Raise the verification level to a higher level, which comes back down when raid mode ends;
  • Lock these channels, so @everyone can't send there, with the previous permissions put back afterwards.
Voinly Join guard Raid protection settings: joins, time window, end raid mode after, alert channel, roles to ping, verification level and channels to lock
Raid protection with the default threshold of 10 joins within 15 seconds.

Filter spam and mass mentions

Raiders who get in still have to post. In Auto moderation, turn on the Spam filter (too many messages too fast), Repeated messages, Channel spam (the same member posting across channels) and Mass mentions. Add Scam links and Server invites for the usual payloads. Each filter can delete, warn, time out, kick or ban, and log what it did. Check a message against your filters with /automod test.

Finally, a verification gate means raid accounts land in a single channel where they can't post. See the verification guide for the full setup.

What to do during a raid

  • Lock down first. Run /raid on [minutes] [reason]. It applies the same lockdown as automatic raid mode. /raid status shows what it changed.
  • Stop new joins. Pause your invites in Discord, or delete the invite the raid came through.
  • Clean up. /purge removes up to 10,000 messages at once and can filter by user. /massban bans up to 200 user IDs in one go.
  • End it. /raid off restores permissions and the verification level. If you set End raid mode after, it also ends on its own after the last flood of joins.
  • Review. Read the Join guard log and the Activity tab, and unban anyone caught by mistake with /unban.

Troubleshooting raid protection

Raid mode didn't raise the verification level

Voinly needs the Manage Server permission for that. Channel locks need Manage Roles on those channels, and the Trusted invites check needs Manage Server to see which invite someone used.

Raid mode starts during busy events

A big announcement can bring many real joins at once. Raise Joins or shorten Within, and set the raid action to give a role rather than kick.

Set up raid protection with Voinly

  1. Set Discord's verification level

    In Server Settings, set the verification level to Medium or High and remove the @everyone mention permission from regular roles.

  2. Turn on Join guard checks

    Open Join guard under Safety. Set Minimum account age to a few days, turn on Require a profile picture, pick Auto-generated usernames patterns, and choose Time out or Give a role as the Action. Pick a Log channel.

  3. Turn on Detect raids

    Under Raid protection, keep the default 10 joins within 15 seconds or adjust them, pick an Alert channel, choose what new members get during a raid, raise the verification level and list the channels to lock.

  4. Add spam and mention filters

    Open Auto moderation and turn on Spam, Repeated messages, Channel spam, Mass mentions, Scam links and Server invites. Give each a log action so you can see what it caught.

  5. Practise the plan

    Make sure your moderators know /raid on and /raid off. Running them once on a quiet day shows exactly what gets locked, and /raid status confirms it.

Anti-raid guide commands

CommandWhat it doesWho can use it
/raid on [minutes] [reason]Start raid mode by hand: lock down and act on new joins.Moderators
/raid offEnd raid mode and restore permissions.Moderators
/raid statusSee whether raid mode is on and what it changed.Moderators
/automod statusSee which filters are on and what they do.Moderators
/automod test <message>Check which filters would catch a message, without acting on it.Moderators
/verify [member]Start verification for yourself. Staff can name a member to verify them by hand.Everyone
/forceverify <member> [reason]Verify a member by hand, skipping every check.Staff: Timeout Members, Kick Members, Ban Members, Manage Messages or a moderator role
/sendverify <member>Send a member their verification link by DM and private thread.Staff: Timeout Members, Kick Members, Ban Members, Manage Messages or a moderator role
/verifypanel [channel]Post or update the verification panel. Name a channel to move it there.Server managers: Manage Server or a manager role
/unverify <member>Take a member's verified roles away so that they have to verify again.Staff: Timeout Members, Kick Members, Ban Members, Manage Messages or a moderator role
/verifyinfo <member>Show a member's verification status, last result and linked accounts.Staff: Timeout Members, Kick Members, Ban Members, Manage Messages or a moderator role
/verifyunlink <member> [platform]Stop matching a member to their linked accounts in this server.Server managers: Manage Server or a manager role
/verifyreset <member>Clear a member's wait, tries, link and waiting review so they can start again.Staff: Timeout Members, Kick Members, Ban Members, Manage Messages or a moderator role
/verifyreview <member> <decision> [reason]Approve or deny a member who is held for review.Staff: Timeout Members, Kick Members, Ban Members, Manage Messages or a moderator role

See every Voinly command

Frequently asked questions

What is the fastest way to stop a raid that is happening now?

Run /raid on to lock channels and act on new joins, pause your invites in Discord, then clean up with /purge and /massban. End it with /raid off.

Will raid protection kick real members?

Only if you choose kick or ban. Time out or a quarantine role keeps everyone in the server so you can release real people. Members listed under Trusted users skip every check and raid action.

Does raid mode stay on forever?

No. End raid mode after ends it a set time after the last flood of joins. Set it to 0 if you want only /raid off to end it.

Is Voinly's anti-raid protection free?

Yes. Join guard, raid mode, auto moderation and verification are all free, like every Voinly module.

How do I stop raids on Discord?

Raise Discord's verification level, turn on Join guard, and set Detect raids. If a raid is happening now, run /raid on, pause invites in Discord, then clean up. Voinly's raid protection is free.

What is an anti-raid setup on Discord?

An anti-raid setup screens new accounts and locks the server when too many people join at once. Voinly can alert mods, time out new joins or give them a role, raise the verification level and lock channels. /raid off restores what raid mode changed.

Can Discord stop a raid by itself?

Partly. Verification level, Discord's AutoMod and pausing invites slow a raid down. They do not lock your channels when joins spike. Voinly's raid mode does that, and it is free.

How do I turn on raid protection?

Open Join guard in the dashboard, set the new-member checks, then turn on Detect raids under Raid protection. Pick an alert channel and what new members get during a raid. The steps on this page name each setting.

Add Voinly to your server

Every Voinly module is free. The only paid extras are Custom bot and extra AI moderation scans (see pricing). Add it to Discord and set it up from the dashboard.

Add to Discord