Discord

How to stop raids on your Discord server

A raid is dozens of fresh accounts joining at once to flood your channels. You can't stop people from finding your invite, but you can make sure they can't do anything when they arrive. Here's a setup that takes about five minutes.

· 3 min read

How raids usually work

Most raids follow the same pattern: an invite link gets shared somewhere, a batch of new or throwaway accounts joins within a minute, and they post spam, slurs or shock images in every channel they can see. By the time a moderator wakes up, the damage is done.

That pattern gives you three places to stop it:

  • Before they can talk. New members can't see your channels until they verify.
  • By account age. Accounts created minutes ago are almost always alts.
  • By join speed. Ten people joining in thirty seconds isn't normal growth.

Step 1: put a verify gate in front of your channels

A verify gate means a new member only sees one channel until they press a button. Raid scripts rarely bother, and real people take one second to click it.

  1. 1Create a role called Verified and give it access to your normal channels.
  2. 2Take that access away from @everyone, so unverified members only see your welcome or rules channel.
  3. 3Run /verify setup with Oblivion and pick the Verified role. Oblivion posts a Verify button.
  4. 4Set a minimum account age in the same command, for example 7 days, so brand-new accounts can't verify.

Step 2: turn on automatic raid detection

Even with a gate, you want to know when a flood starts. Run /antiraid on. By default, 10 joins within 30 seconds counts as a raid, and you can change both numbers to fit your server's size.

You also choose what happens to accounts that join during a raid:

  • Alert only: post a warning in your mod log so staff can take a look. Good for big public servers that get legitimate join spikes.
  • Time out: silence new joiners for an hour while you sort it out.
  • Kick: remove them straight away.

When things calm down, /antiraid end switches raid mode off early. If you'd rather keep very new accounts out entirely, /antiraid minage kicks accounts younger than the number of days you set as they join.

Step 3: block the worst messages before anyone sees them

Some raiders are patient enough to get through a gate. For them, use Discord's own AutoMod, which blocks a message before it's posted rather than deleting it afterwards.

/cleanmode on sets up an AutoMod rule that blocks slurs and racist messages. Blocked messages never appear, the sender is timed out for 24 hours, and your mod log gets an alert. Add your own words with /cleanmode word add, using * as a wildcard.

Step 4: have a log so you can clean up

Point a mod log at a private staff channel with /setup modlog. Raid alerts, AutoMod blocks, timeouts, kicks and bans all land there as numbered cases, so after a raid you can see exactly who was actioned. The moderation guide walks through it.

A quick checklist

  • Verify button with a minimum account age
  • @everyone can't see or post in your main channels
  • Anti-raid on, with an action that fits your server
  • Clean mode on for slurs
  • A private mod log channel
  • Your bot's role sits above the roles it needs to manage

Every step above uses free Oblivion features. The verification guide has the same setup as a short checklist.

Questions people ask

Do I need a captcha bot to stop raids?

Not usually. A Verify button plus a minimum account age stops most raid scripts and alt accounts without making real members solve puzzles.

What counts as a raid in Oblivion?

10 joins within 30 seconds by default. You can change both numbers with /antiraid on.

Does anti-raid protection cost anything?

No. Verification, anti-raid and clean mode are free in Oblivion on every server.

Features mentioned here

More from the blog

All posts →

Add Oblivion to your server

Every feature free. Set up in a couple of minutes from the dashboard or with slash commands.

Add OblivionFree Discord botAdd to Discord