Overview
The Antinuke system is a complete server-protection framework designed to safeguard your Discord community against malicious actions such as mass bans, unauthorized bot additions, role abuse, and configuration tampering. It provides a centralized control panel where authorized users can enable or disable protections, configure punishments, and review the system’s status in real time through an interactive interface.Access Control
The Antinuke system uses a three-tier permission hierarchy:- Server Owner — Full access to all antinuke features including enabling, disabling, changing punishments, and managing all user tiers
- Extra Owners — Elevated access equivalent to the server owner for antinuke purposes. Can manage antinuke admins, enable/disable protections, and change punishments. Limited to 3 per server
- Antinuke Admins — Restricted access. Can enable protections but cannot disable them or change punishments. Limited to 3 per server
Commands
antinuke
antinuke
Opens the main antinuke control panel to manage all protections.Aliases:
an
Permissions: Server Owner, Extra Owner, or Antinuke Adminextraowner
extraowner
Manage extra owners who have elevated antinuke control equivalent to the server owner.Aliases:
eo, xowner
Permissions: Server Owner only
Limit: 3 extra owners per serverantinukeadmin
antinukeadmin
Manage antinuke administrators who can enable protections.Aliases:
ana, antiadmin
Permissions: Server Owner or Extra Owner
Limit: 3 admins per serverantivanity
antivanity
Protect your server’s vanity URL from unauthorized changes.Permissions: Server Owner or Extra Owner (enable only: Antinuke Admin)
antiban
antiban
Protect against mass bans and unauthorized ban actions.Permissions: Server Owner or Extra Owner (enable only: Antinuke Admin)
antibot
antibot
Protect against unauthorized bot additions to the server.Permissions: Server Owner or Extra Owner (enable only: Antinuke Admin)
antichannel
antichannel
Protect against mass channel creation or deletion.Permissions: Server Owner or Extra Owner (enable only: Antinuke Admin)
antikick
antikick
Protect against mass kicks and unauthorized kick actions.Permissions: Server Owner or Extra Owner (enable only: Antinuke Admin)
antirole
antirole
Protect against mass role creation, deletion, and permission changes.Permissions: Server Owner or Extra Owner (enable only: Antinuke Admin)
antimemberrole
antimemberrole
Protect against unauthorized assignment of dangerous roles to members. Dangerous roles include Administrator, Manage Guild, Manage Roles, Manage Channels, Mention Everyone, and Manage Webhooks.Aliases:
amr, memberroleprotect
Permissions: Server Owner or Extra Owner (enable only: Antinuke Admin)antisettings
antisettings
Protect server settings from unauthorized changes.Permissions: Server Owner or Extra Owner (enable only: Antinuke Admin)
antiwebhook
antiwebhook
Protect against unauthorized webhook creation, deletion, and webhook nukes.Permissions: Server Owner or Extra Owner (enable only: Antinuke Admin)
antiprune
antiprune
Protect against unauthorized member pruning.Aliases:
pruneprotect
Permissions: Server Owner or Extra Owner (enable only: Antinuke Admin)Protection Modules
Each protection module targets a specific category of server abuse. The system currently includes the following protections:Antiban
Prevents unauthorized bans or mass ban attempts
Antibot
Blocks unapproved bots from being added to the server
Antikick
Prevents unauthorized kicks or mass kick activity
Antichannel
Prevents harmful channel deletion or mass channel creation
Antirole
Protects roles from unauthorized creation, deletion, or permission changes
Antimemberrole
Blocks unauthorized assignment of dangerous permissions to members
Antivanity
Prevents unauthorized changes to the server’s vanity URL
Antisettings
Blocks unauthorized edits to major server configuration settings
Antiwebhook
Prevents unauthorized webhook creation, deletion, or modification
Antiprune
Blocks unauthorized mass member pruning
Available Modules
The antinuke system monitors the following Discord events:bot_add— Bot join protectionrole_update— Role update protectionrole_create— Role creation protectionrole_delete— Role deletion protectionchannel_update— Channel update protectionchannel_create— Channel creation protectionchannel_delete— Channel deletion protectionguild_update— Server settings and vanity protectionkick— Mass kick protectionban— Mass ban protectionmember_role_update— Dangerous role assignment protectionwebhook_create— Webhook creation protectionwebhook_delete— Webhook deletion protectionprune— Mass member prune protection
Permission Hierarchy
| Action | Server Owner | Extra Owner | Antinuke Admin |
|---|---|---|---|
| Manage extra owners | ✅ | ❌ | ❌ |
| Manage antinuke admins | ✅ | ✅ | ❌ |
| Enable protections | ✅ | ✅ | ✅ |
| Disable protections | ✅ | ✅ | ❌ |
| Change punishments | ✅ | ✅ | ❌ |
| Configure Verdict Mode | ✅ | ✅ | ❌ |
Punishment System
Punishments define how the system responds when a protection is triggered. The available actions include:- Strip
- Ban
- Kick
- None
Removes all roles from the offending user, leaving them with no permissions.
Control Panel Interface
The primaryantinuke command opens a fully interactive control panel built with Discord Components V2. The interface is composed of:
- Header describing the Antinuke system
- Real-time status display listing all protections, their enabled/disabled state, and assigned punishment
- Individual toggle buttons for each protection module
- Global controls:
- Enable All
- Disable All
- Set Punishment (global punishment menu — full access only)
Only the user who executed the command can interact with the control panel. When the session expires, the panel remains displayed but becomes inactive.
Enable All / Disable All
The system supports bulk actions for efficiency:- Enable All: Activates every protection and assigns “Strip” as the default punishment
- Disable All: Fully disables all protections — restricted to server owner and extra owners
Best Practices
- Assign extra owners only to highly trusted individuals as they have near-full antinuke control.
- Use antinuke admins for staff who should be able to activate protections but not alter the overall configuration.
- Always whitelist your staff and bots to avoid false positives.
- Regularly review your settings with
,antinuke config. - Test the system in a safe environment before going live.
Logging Integration
Every configuration change — including enabling, disabling, and punishment updates — is recorded in the logging system. This ensures complete auditability and allows server owners to track all modifications to their Antinuke settings.All antinuke actions are automatically logged to your configured logging channel if enabled.