Anti-Raid

Detect bursts of member joins and temporarily protect a server.

Free

Detect bursts of member joins and temporarily protect a server.

Install Anti-Raid from your bot’s Modules tab. Configure the settings below, save, and deploy the bot to apply changes. See module setup for shared setup steps.

Set up and use

Set the number of joins and the time window that activates protection. The defaults are five joins in ten seconds, with protection lasting five minutes. Choose an alert channel and begin with Alert only.

Kick new accounts kicks accounts younger than New-account threshold while protection is active. A threshold of zero treats every joining account as new.

Each server has its own join tracking. Combine this with Verification Gate for access control and Quarantine for individual review.

Settings reference

SettingDefaultDetails
Joins needed to trigger5Protection activates when this many members join inside the configured window.
Join window (seconds)10Enter a number.
New-account threshold (hours)24Only accounts younger than this are kicked while raid protection is active. Set to 0 to treat every account as new.
Protection duration (minutes)5Enter a number.
Action during a raidalertChoose an option. Choices: Alert only; Kick new accounts.
Alert channelChoose a Discord channel.

Discord setup and troubleshooting

BotDen prepares the invite permission request automatically from your enabled modules and saved commands/events. Use the invite generated by BotDen.

Enable Server Members Intent in the Discord Developer Portal for this module. See privileged intents.

If the feature does not work after saving and deploying, see troubleshooting for intents, existing-server permissions, channel access, and role order.