Discord Anti-Raid Protection

A practical setup guide for detecting suspicious join patterns and responding to raids.

What SAC Bot's raid detection does

A Discord raid is a sudden wave of accounts joining a server, often to overwhelm moderators or post harmful content. SAC Bot's adaptive verification can watch for repeated or similar usernames joining within a configured time window. When the configured threshold is reached, the bot switches new joins to hard CAPTCHA. This is a detection and verification response, not a guarantee that every raid will be stopped.

Raid-pattern detection is controlled separately from adaptive verification. CAPTCHA must also be enabled for members flagged for verification to receive a challenge. Check the current settings and test the join flow before relying on it.

Configure raid detection

Open /setup, go to Security, then open Anti-Raid. Review these controls:

  • Anti-Raid: enables adaptive verification behavior.
  • Raid Detection: enables the join-pattern detector.
  • Raid Threshold: number of similar-name joins that trigger the response (the default is 5).
  • Raid Time Window: how many minutes of recent joins to compare (the default is 2).
  • Account Age Threshold: how old a joining account must be before it is treated as new for verification (the default is 10 minutes).

The detector compares repeated names and names with a shared prefix followed by numbers. Choose thresholds that fit your server's normal join activity; overly sensitive settings can challenge legitimate members.

Prepare a safe response

  1. Enable CAPTCHA and verify that new members can complete it.
  2. Choose a raid threshold and time window, then review the configured log channel for alerts.
  3. Check the bot's role hierarchy and required channel permissions; test the configuration with moderators.
  4. If an incident is underway, moderators can use /lockdown to restrict messages while they investigate.

Use the account-age filter guide for join screening and the spam and flood protection guide for message bursts after users join.

Set up SAC Bot or review the commands reference.