Skip to main content
Anti-Raid gives you three independent protection modules that each target a different vector attackers use to flood or disrupt your server. You can enable any combination of modules, each with its own punishment and threshold, and maintain a whitelist of trusted users who are never affected. Unlike Anti-Nuke, Anti-Raid modules are configured and toggled through individual sub-commands — there is no global enable/disable switch.
All Anti-Raid commands require the Manage Server permission. The whitelist is global across all modules by default; a separate per-module whitelist is available for New Accounts.

Protection Modules

Mass Join

Monitors the join rate in a rolling 10-second window. When the number of joins exceeds your threshold, every member in that wave is punished.

New Accounts

Checks account age on every join. Accounts younger than your threshold (in days) are automatically kicked or banned before they can interact with your server.

Default Avatar

Rejects any user who joins with the default Discord avatar — a strong indicator of a throwaway or bot account.

Mass Join

The Mass Join module tracks how many users join within a 10-second sliding window. Once the number of joins in that window exceeds the threshold you set, XRYPTON punishes every account that joined in the wave.

Enable Mass Join

Example — ban if more than 5 users join within 10 seconds:

Disable Mass Join

Start with a conservative threshold (e.g. 10) to avoid false positives when you share an invite publicly. Lower it only when you’re actively under a raid.

New Accounts

The New Accounts module checks every incoming member’s account creation date. If the account is younger than the age you specify (in days), the member is immediately kicked or banned.

Enable New Accounts

Example — kick accounts younger than 30 days:

Disable New Accounts

Whitelist a Specific User for New Accounts

If a known person has a new account and you want to let them join, whitelist them specifically for this module. Running the command on an already-whitelisted user removes them (toggle behaviour).
The New Accounts whitelist is separate from the global Anti-Raid whitelist. A user whitelisted globally is also exempt from this module, but the module-specific whitelist only bypasses New Accounts checks.

Default Avatar

The Default Avatar module fires the moment any user with no custom profile picture joins your server. No threshold is required — the action is taken immediately on every matching join.

Enable Default Avatar

Example — kick every user who joins with a default avatar:

Disable Default Avatar

Some legitimate users never set a profile picture. Consider pairing this module with a lenient punishment (kick) rather than ban, and make use of the global whitelist for known members who prefer the default avatar.

Managing the Whitelist

The global Anti-Raid whitelist exempts users from all three modules. Use it for moderators, trusted members, or bot accounts that might otherwise trigger mass join detection.

Add a user to the whitelist

Remove a user from the whitelist

View the whitelist


Example Setup

1

Enable Mass Join protection

Block coordinated join waves by banning any account that joins when more than 8 users arrive in a 10-second window.
2

Enable New Accounts protection

Reject accounts younger than 14 days to filter out freshly-created alts and bot accounts.
3

Enable Default Avatar protection

Kick anyone who joins without a custom profile picture.
4

Whitelist your trusted moderators

Make sure your staff are never caught by the modules you just enabled.
5

Whitelist a specific new account (if needed)

If a trusted member happens to have a brand-new account and can’t pass the age check, whitelist them for that module specifically.
6

Review your configuration

Confirm all three modules are active and their punishments/thresholds look correct.

Viewing Settings

Run the settings command at any time to see which modules are active, what punishment each uses, and what threshold is set.
XRYPTON responds with an embed showing the current raid state (Safe if all modules are on, Unsafe if any are off) along with per-module details.

Command Reference

Both --do flags across all modules accept:
  • kick — removes the user from the server (they can rejoin)
  • ban — permanently bans the user from the server