AntiRaid
AntiRaid protects your server from mass joins, suspicious accounts, and raid attempts. It provides join rate limiting, account age checks, default avatar checks, lockdown, and more.Features
- Mass Join Protection: Detects and blocks mass joins.
- Account Age Check: Blocks new accounts from joining.
- Default Avatar Check: Optionally blocks users with default profile pictures.
- Punishment System: Ban, kick, timeout, or jail detected raiders.
- Lockdown System: Automatically or manually lock the server during a raid.
- Logging: Sends detailed logs to a configurable channel.
- Whitelist: Exempt trusted users from anti-raid actions.
Requirements
- Bot must have permissions: Administrator, Ban Members, Kick Members, Moderate Members, Manage Channels, Send Messages, Embed Links.
Setup
Enable/Disable AntiRaid
Configure Mass Join Protection
--threshold
— Number of joins in 60s to trigger--do
— Punishment (ban/kick/timeout/jail)--lock
— Lock channels on trigger--punish
— Punish new members on trigger
Account Age Protection
- Blocks accounts newer than 7 days
Default Avatar Protection
- Blocks users with default profile pictures
Set Raid Punishment
- Options: ban, kick, timeout, jail
Lockdown
- Enable/disable lockdown:
- Optionally specify a role:
Set Log Channel
Whitelist Management
- Add user:
- Remove user:
- List whitelisted users:
View Settings
Example Usage
Best Practices
- Set up a log channel for raid alerts.
- Use thresholds that match your server’s size and activity.
- Whitelist trusted users and bots.
- Test the system before going live.
Lockdown will modify channel permissions. Test in a safe environment first.