Skip to main content

Overview

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 keeps your server safe from any harmful actions.

How does the antinuke work?

Antinuke sets 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.

Configuring modules

Run /antinuke config to open the antinuke configuration panel. The panel shows which modules are enabled and lets you select a module from the dropdown to configure it, toggle Deny Bot Joins, edit Watched Permissions, or view your Whitelist and Admins.
Antinuke configuration panel

The antinuke configuration panel shows enabled modules and lets you select a module to configure.

Selecting a module from Change antinuke module… opens its form, where you can set its status, punishment, threshold and command detection.
Mass Kicks module form

The Mass Kicks module form.

Managing antinuke admins

Initially, only the server owner can configure the antinuke. Use /antinuke admin add to allow another user to manage it.
This is a dangerous command and will allow the user to entirely alter the antinuke configuration.

To remove an antinuke admin, use /antinuke admin remove.
Use the View button beside Admins in /antinuke config to see every antinuke admin.
Antinuke configuration with the admins list open

Exempting users from the antinuke

You can exempt users from the antinuke with /antinuke whitelist add and /antinuke whitelist remove.
This is a dangerous command and will allow the user to bypass the antinuke entirely.

Available protections

Watching permission changes

Select the pencil button beside Watched Permissions in /antinuke config to watch permission grants or removals. When a watched permission changes on a role, bleed reverts the change, reports who made it, and can optionally punish the member who made the change. Available permission values are:

Protection modules

Each module can be toggled on or off and configured in /antinuke config. Thresholds define how many actions trigger the module, and punishment defines what happens when it is triggered. For modules that support command detection, enable it to include actions performed with bleed commands.
Thresholds count actions made within 9 seconds and can be from 1 to 100. It’s recommended to keep thresholds between 1 and 6. Available punishments are listed in the punishments section.

Mass Bans

Stops members from being banned in bulk. Supports command detection.

Mass Kicks

Stops members from being kicked in bulk. Supports command detection.

Role Deletes

Stops roles from being deleted in bulk. Supports command detection.

Channels

Stops channels from being created or deleted in bulk.

Emoji Deletes

Stops emojis from being deleted in bulk.

Webhooks

Stops webhooks from being created in bulk.

Vanity

Punishes members who change the server’s vanity URL.

Deny Bot Joins

Kicks bots that were added without being whitelisted first.
bleed cannot revert a vanity URL change due to Discord limitations. It can only punish the member who made it.
To let a bot join while Deny Bot Joins is on, whitelist it first with /antinuke whitelist add user:<bot>.