Skip to main content

Why use an antinuke system?

It’s important to have an antinuke system in place to prevent moderators from abusing their permissions. This is a security measure which lets your server stay safe from any harmful actions.

How does the antinuke work?

The antinuke will set a limit on the number of actions a moderator can perform in a certain time frame. If the limit is exceeded, the moderator will be punished and a message will be sent to the owner.

Configuring the antinuke

Discord recently implemented a new mass ban feature which can quickly ban 100+ members. It’s HIGHLY recommended to utilize fake permissions to prevent moderators from using this feature.

Allowing users to configure the antinuke

Initially, only the server owner can configure the antinuke. However, you can allow other users to configure the antinuke with the antinuke admin command.
This is a dangerous command and will allow the user to entirely alter the antinuke configuration.
,antinuke admin (user)

Exempting users from the antinuke

You can exempt users from the antinuke with the antinuke whitelist command.
This is a dangerous command and will allow the user to bypass the antinuke entirely.
,antinuke whitelist (user)

Enabling an antinuke module

Available Flags

The threshold is the number of actions a moderator can perform before being punished.
The threshold must be between 1 and 10.
--threshold (number)
The punishment which will be applied to the moderator.
Available punishments: ban, kick, strip
--punishment (punishment)

Available Modules

You can prevent members from changing the vanity URL with the following command
This module only requires a punishment flag, no threshold.
,antinuke vanity (on or off) --punishment (punishment)

You can prevent bots from being mass added with the following command
You’ll need to use antinuke whitelist (bot ID) to allow specific bots.
,antinuke botadd (on or off) --threshold (number) --punishment (punishment)

You can prevent members from being mass banned with the following command
It’s recommended to keep the threshold between 1 and 10.
,antinuke ban (on or off) --threshold (number) --punishment (punishment)

You can prevent members from being mass kicked with the following command
It’s recommended to keep the threshold between 1 and 10.
,antinuke kick (on or off) --threshold (number) --punishment (punishment)

You can prevent roles from being mass deleted with the following command
It’s recommended to keep the threshold between 1 and 10.
,antinuke role (on or off) --threshold (number) --punishment (punishment)

You can prevent channels from being mass created or deleted with the following command
It’s recommended to keep the threshold between 1 and 10.
,antinuke channel (on or off) --threshold (number) --punishment (punishment)

You can prevent emojis from being mass deleted with the following command
It’s recommended to keep the threshold between 1 and 10.
,antinuke emoji (on or off) --threshold (number) --punishment (punishment)

You can prevent webhooks from being mass created with the following command
It’s recommended to keep the threshold between 1 and 10.
,antinuke webhook (on or off) --threshold (number) --punishment (punishment)

Disabling an antinuke module

You can disable an antinuke module with the same command you used to enable it, but with the status set to off.
,antinuke webhook off

Viewing the antinuke configuration

You can use the antinuke config command to view the current antinuke configuration.

Viewing the modules & whitelist

You can use the antinuke list command to view the enabled modules and whitelisted users.

Viewing users with antinuke admin

You can use the antinuke admins command to view users which can configure the antinuke.

Managing Permissions

You can grant or remove specific permissions from being monitored using the permissions command:
,antinuke permissions (grant or remove) (permission)

Available Permissions

Antinuke Permissions
administrator
ban_members
kick_members
moderate_members
manage_guild
manage_channels
manage_roles
view_audit_log
manage_webhooks
manage_expressions
manage_nicknames
view_guild_insights