Security

Antinuke

Antinuke stops anyone who isn't whitelisted - a rogue moderator, a hacked account or a bot - from wrecking the server. It reads the audit log as events happen, punishes on the first destructive action, locks dangerous permissions and puts back what was deleted.

Quick setup

  1. ?antinuke config
    Open the panel and turn on the protections you want.
  2. ?antinuke adminguard on
    Roles with dangerous permissions never stay on anyone unwhitelisted.
  3. ?antinuke whitelist add @user
    Only for people you'd trust with the whole server.

Who it applies to

Everyone except the server owner (Discord doesn't let bots act on the owner), whitelisted users and antinuke admins. Antinuke admins can change the settings; the whitelist bypasses antinuke entirely - keep both short.

Recovery

A lockdown takes dangerous permissions off roles during an attack; the owner puts them back with ?antinuke restore. Deleted channels and roles are recreated where Discord allows, and webhooks that spam or ping everyone are deleted.

30 commands · (required) [optional] · also on the commands page

?antinuke

Impose restrictions on moderators to prevent destructive behavior.

?antinuke
Permissions noneAliases anCooldown 2 per 6s per user

?antinuke admin

You can use the ?antinuke admin command to manage who can configure the antinuke.

?antinuke admin
Permissions noneAliases adminsCooldown 2 per 6s per user

?antinuke admin add

You can use the ?antinuke admin add command to let a user configure the antinuke. Dangerous.

?antinuke admin add (user)
Permissions noneCooldown 2 per 6s per user

?antinuke admin list

You can use the ?antinuke admin list command to list the antinuke admins.

?antinuke admin list
Permissions noneAliases viewCooldown 2 per 6s per user

?antinuke admin remove

You can use the ?antinuke admin remove command to remove an antinuke admin.

?antinuke admin remove (user)
Permissions noneCooldown 2 per 6s per user

?antinuke adminguard

Roles with dangerous permissions (admin, ban, manage roles...) never stay on anyone who isn't whitelisted.

?antinuke adminguard (on or off)
Permissions noneCooldown 2 per 6s per user

?antinuke ban

Prevent members from being mass banned.

?antinuke ban (on or off) [punishment] [command_detection]
Permissions noneCooldown 2 per 6s per user

?antinuke botadd

Prevent bots from being added.

?antinuke botadd (on or off)
Permissions noneCooldown 2 per 6s per user

?antinuke channel

Prevent channels from being mass created or deleted.

?antinuke channel (on or off) [punishment]
Permissions noneCooldown 2 per 6s per user

?antinuke config

You can use the ?antinuke config command to open the antinuke configuration panel.

?antinuke config
Permissions noneAliases settings, panelCooldown 2 per 6s per user

?antinuke emoji

Prevent emojis from being mass deleted.

?antinuke emoji (on or off) [punishment]
Permissions noneCooldown 2 per 6s per user

?antinuke joinguard

Empty the role and jail a member who gets admin right after joining.

?antinuke joinguard (on or off)
Permissions noneCooldown 2 per 6s per user

?antinuke kick

Prevent members from being mass kicked.

?antinuke kick (on or off) [punishment] [command_detection]
Permissions noneCooldown 2 per 6s per user

?antinuke lockdown

You can use the ?antinuke lockdown command to take dangerous permissions off every role when an attack happens.

?antinuke lockdown (on or off)
Permissions noneCooldown 2 per 6s per user

?antinuke massadmin

You can use the ?antinuke massadmin command to lock the server down when many members get admin at once.

?antinuke massadmin (on or off)
Permissions noneCooldown 2 per 6s per user

?antinuke permissions

You can use the ?antinuke permissions command to watch permission grants or removals on roles.

?antinuke permissions
Permissions noneAliases permsCooldown 2 per 6s per user

?antinuke permissions list

You can use the ?antinuke permissions list command to view the watched permissions.

?antinuke permissions list
Permissions noneAliases viewCooldown 2 per 6s per user

?antinuke permissions unwatch

You can use the ?antinuke permissions unwatch command to stop watching a permission change.

?antinuke permissions unwatch (grant or remove) (permission)
Permissions noneCooldown 2 per 6s per user

?antinuke permissions watch

You can use the ?antinuke permissions watch command to watch a permission change.

?antinuke permissions watch (grant or remove) (permission)
Permissions noneCooldown 2 per 6s per user

?antinuke ping

Prevent @everyone and @here spam.

?antinuke ping (on or off) [punishment]
Permissions noneAliases pings, everyoneCooldown 2 per 6s per user

?antinuke restore

You can use the ?antinuke restore command to give roles back the permissions a lockdown took.

?antinuke restore
Permissions noneCooldown 1 per 30s per server

?antinuke role

Prevent roles from being mass deleted.

?antinuke role (on or off) [punishment] [command_detection]
Permissions noneCooldown 2 per 6s per user

?antinuke roleupdate

Punish roles being moved, dangerous permissions being added and admin being handed out.

?antinuke roleupdate (on or off) [punishment] [command_detection]
Permissions noneAliases roleupdatesCooldown 2 per 6s per user

?antinuke vanity

Punish members for changing the vanity URL.

?antinuke vanity (on or off) [punishment]
Permissions noneCooldown 2 per 6s per user

?antinuke webhook

Prevent webhooks from being mass created.

?antinuke webhook (on or off) [punishment]
Permissions noneCooldown 2 per 6s per user

?antinuke webhookspam

You can use the ?antinuke webhookspam command to delete webhooks that ping everyone or flood messages.

?antinuke webhookspam (on or off)
Permissions noneCooldown 2 per 6s per user

?antinuke whitelist

Exempt users from the antinuke.

?antinuke whitelist
Permissions noneAliases wlCooldown 2 per 6s per user

?antinuke whitelist add

You can use the ?antinuke whitelist add command to let a user bypass the antinuke entirely. Dangerous.

?antinuke whitelist add (user)
Permissions noneCooldown 2 per 6s per user

?antinuke whitelist list

You can use the ?antinuke whitelist list command to list whitelisted users.

?antinuke whitelist list
Permissions noneAliases viewCooldown 2 per 6s per user

?antinuke whitelist remove

You can use the ?antinuke whitelist remove command to remove a user from the antinuke whitelist.

?antinuke whitelist remove (user)
Permissions noneCooldown 2 per 6s per user

Questions

Why wasn't someone punished?

They're whitelisted, an antinuke admin, above Rage's role, or that protection is off.