Skip to main content

How protection works

Antinuke watches actions such as bans, kicks, role deletion, channel changes, emoji deletion, bot additions, and webhooks. Each module has its own configuration. Actions are counted per actor and module within that module’s rolling window.
Modules are disabled by default. The model’s default window is 10 seconds; it is not a fixed 60-second window.

Configure modules

Enable a module, then choose its threshold and punishment. Supported punishment names include warn, jail, kick, ban, and stripstaff. Inspect the configuration before testing enforcement.

Administrators and exemptions

The server owner configures antinuke access. Super administrators and whitelisted users are managed separately. Whitelisting exempts a user or bot from checks.

Command and permission detection

Ban, kick, and role modules can watch qualifying bot commands with --command. The permissions subcommand selects a watched permission and whether to detect grants or removals.

Command reference

Examples use the default comma prefix. Required inputs use angle brackets; optional inputs use square brackets. Each command notes whether it is also registered in Discord’s slash menu.
Impose restrictions on moderators to prevent destructive behavior.

antinuke config

View the antinuke configuration.
Prefix syntax

antinuke list

View modules and whitelisted users.
Prefix syntax

antinuke admin

Toggle a user as an antinuke super admin.
Prefix syntax

antinuke admins

View antinuke super admins.
Prefix syntax

antinuke whitelist

Toggle a user or bot as exempt from antinuke.
Prefix syntax

antinuke permissions

Toggle a watched permission grant or removal.
Prefix syntax

antinuke vanity

Punish members for changing the vanity URL
Prefix syntax

antinuke botadd

Prevent unauthorized bots from being added
Prefix syntax

antinuke ban

Prevent members from being mass banned
Prefix syntax

antinuke kick

Prevent members from being mass kicked
Prefix syntax

antinuke role

Prevent roles from being mass deleted
Prefix syntax

antinuke channel

Prevent channels from being mass created or deleted
Prefix syntax

antinuke emoji

Prevent emojis from being mass deleted
Prefix syntax

antinuke webhook

Prevent webhooks from being mass created
Prefix syntax