Skip to main content

Anti-Nuke

The anti-nuke system protects your server from destructive actions by compromised accounts or malicious users with elevated permissions. It monitors for suspicious bulk actions and responds automatically.

Commands

CommandDescriptionUsage
/antinuke setupRun the interactive anti-nuke setup wizard/antinuke setup
/antinuke settingsView the current anti-nuke configuration/antinuke settings
/antinuke disableDisable the anti-nuke system/antinuke disable

Dashboard Configuration

Configure anti-nuke from the Security section of the dashboard.

SettingDescription
Enable/DisableToggle the anti-nuke system on or off
Whitelist UsersAdd trusted users who are exempt from anti-nuke detection
ThresholdsSet how many actions within a time window trigger a response
warning

Always whitelist the server owner and any trusted bots. Anti-nuke detection does not distinguish between legitimate bulk actions and attacks unless users are whitelisted.

What It Protects Against

Mass Channel Deletion

Detects when multiple channels are deleted in rapid succession. If the threshold is exceeded, the attacker is stopped and affected channels can be restored.

Mass Role Deletion

Detects when multiple roles are deleted in a short time frame. The system strips the attacker's permissions and prevents further damage.

Mass Bans

Detects when a user bans many members quickly. The banning spree is halted, and the attacker's permissions are revoked.

Mass Kicks

Similar to mass bans, detects rapid kick activity and intervenes automatically.

Webhook Spam

Detects when webhooks are created in bulk or used to flood channels with messages. Malicious webhooks are deleted automatically.

Actions Taken

When anti-nuke detects a threat, it can take one or more of the following actions depending on your configuration:

ActionDescription
Strip PermissionsImmediately removes all dangerous permissions from the attacker's roles
Ban AttackerBans the user responsible for the attack
Restore ChangesAttempts to restore deleted channels and roles to their previous state
info

Restoration works best for channel and role deletions. Unbanning mass-banned members requires manual action or use of the /unban command.

tip

It is recommended to set conservative thresholds (e.g., 3-5 actions within 10 seconds) and only whitelist users you absolutely trust. The tighter your thresholds, the faster the system responds to an attack.