Overview
Even trusted moderators can go rogue, get compromised, or make mistakes at scale. Confine’s antinuke system watches for sudden bursts of destructive actions and steps in before real damage is done.How it works
You set a limit on how many risky actions a moderator can take within a short window. Cross that limit, and confine automatically punishes them and pings the server owner.Setting it up
Giving others access to configure the antinuke
By default, only the owner can touch antinuke settings. To let someone else help manage it, use:Whitelisting trusted users
Need someone to bypass antinuke entirely (like a co-owner or bot)? Whitelist them:
Turning on protection modules
Flags you can tune
Threshold
Threshold
How many actions can happen before confine steps in.
Keeping this between
1 and 6 is usually the safest range.Punishment
Punishment
What happens to the moderator once they cross the threshold.
Command tracking
Command tracking
Decide if confine’s own moderation commands (like
,ban) should also count toward the threshold.Protection modules
Mass bans
Mass bans
Catch and stop a moderator from banning large numbers of members in a short burst.
Turning on
$command on is recommended so this also tracks confine’s own ban command.Mass kicks
Mass kicks
Catch and stop a moderator from kicking a large batch of members quickly.
Turning on
$command on is recommended so this also tracks confine’s own kick command.Channel spam
Channel spam
Prevent mass creation or deletion of channels in a short window.
Role creation and deletion
Role creation and deletion
Stop a wave of role creations and deletions from wiping out your server’s role structure.
Turning on
$command on is recommended for full coverage.Webhook creation
Webhook creation
Block a flood of new webhooks from being set up, often used to spam ping or exploit channels.
Emoji deletion
Emoji deletion
Block a flood of new emojis from being deleted.
Sticker deletion
Sticker deletion
Block a flood of new sticker from being deleted.
Mass bot additions
Mass bot additions
Block large waves of bots from being added to your server at once.
To let a specific bot in, allow it first with
antinuke allow (bot id).Vanity URL changes
Vanity URL changes
Stop members from swapping out your server’s vanity invite.
To disable an antinuke module, run the same command you used to enable a module, just switch it to
off.
Checking your configuration
Use,antinuke config to see your current antinuke configuration at a glance.

Viewing all antinuke whitelisted users
Run,antinuke whitelisted to view all whitelisted users.

Viewing module punishments and thresholds
Run,antinuke view to check the punishment and threshold set for each module.

Viewing who has admin access
Run,antinuke admins to see everyone who’s allowed to configure antinuke.

