Antinuke
Protect your server from compromised staff, malicious bots and mass-destructive actions.
Overview
The antinuke command group (alias an) watches for destructive actions, such as mass channel deletion, mass banning, dangerous role grants and webhook abuse, and automatically punishes whoever triggers them once a threshold is crossed within a short window.
Quick Setup
antinuke setup enables a sensible baseline in one command: botadd, channel_create, channel_delete, role_create, permission_escalation, dangerous_role_assign and guild_update at threshold 1, plus ban and kick at threshold 3, all punished with a kick. The server owner is automatically whitelisted.
antinuke panic to instantly enable every module at threshold 2 with the striproles punishment.Configuring Modules
Each protection module is its own subcommand: antinuke <module> <true/false> [threshold] [punishment]. For example, antinuke ban true 3 kick kicks anyone who bans 3 or more members in the detection window.
| Category | Modules |
|---|---|
| Channels | channel_create, channel_delete, channel_update, category_create, category_delete |
| Roles | role_create, role_delete, role_update, role_position, permission_escalation, dangerous_role_assign, mass_role, mass_role_assign, role_self_assign |
| Members | ban, kick, botadd, mass_mention |
| Invites | invite, invite_create, invite_join_rate, invite_purge |
| Server | guild_update, webhook_create, webhook_delete |
| Media | emoji_create, emoji_delete, sticker_create, sticker_delete, links |
Run antinuke modules for the full, current list with descriptions.
Trust & Admins
| Command | Description |
|---|---|
antinuke admin add/remove <user> | Grant or remove antinuke admin access. Admins can configure antinuke; only the server owner can manage admins. |
antinuke trust add/remove <user> [scope] | Mark a user as trusted so their actions never trigger antinuke punishments. |
antinuke ignore <category_id> <true/false> | Exempt an entire channel category from channel-related modules. |
Monitoring
| Command | Description |
|---|---|
| antinuke status | Show every enabled module, its threshold and punishment, plus whitelisted users and admins. |
| antinuke show | Show detailed configuration for the server. |
| antinuke logs | Show a history of antinuke actions taken. |
| antinuke reset | Disable every module and clear all antinuke data for the server, including trust and whitelist entries. |