Skip to main content
Guides5 min read · 13 August 2026

How to Set Up Anti-Nuke on Discord

A nuke attack happens when a rogue admin — or a compromised admin account — begins deleting channels, banning members, or destroying your server's structure in bulk. Anti-nuke bots detect this in real time and act within milliseconds. This guide covers the full setup using Krypton.

K
Krypton TeamAuthor

What does Anti-Nuke actually protect against?

Anti-nuke is a real-time defense system that constantly monitors your Discord audit log. When an administrator takes actions too quickly (e.g. deleting 3 channels in 5 seconds), the bot instantly punishes the administrator, stopping the destruction.

Krypton includes 11 specific protections:

  • Anti-Ban & Anti-Kick: Mass member removals are stopped instantly.
  • Anti-Channel (Create/Delete): Bulk channel wiping or creation is blocked, and deleted channels can be rolled back.
  • Anti-Role Changes: Stops rogue admins from deleting roles or giving everyone Administrator privileges.
  • Anti-Webhook & Anti-Bot Add: Prevents attackers from adding spam bots or webhooks to flood your server.
  • Anti-Server Edit: Unauthorized server name, icon, or region changes are instantly reverted.
  • Anti-Emoji Changes: Bulk emoji deletion is halted.
  • Anti-Ping: Detects mass @everyone or @here pings that try to bypass notification settings.

Step-by-Step Anti-Nuke Setup

01. Add Krypton to your server

Krypton requires the Administrator permission to read the audit log and act on events in real time. Without it, the bot cannot protect your server.

Click here to invite Krypton

02. Enable the system

Run the following command in any channel. This activates the protection system, but does not configure limits yet.

/antinuke enable

03. Run One-Click Setup

This applies sensible default threshold limits for all 11 protection categories at once. It is the fastest way to get protected. You can manually tune individual settings later.

/antinuke setup

04. Set your punishment type

Choose what happens to an admin who triggers a protection limit.

/antinuke punishment
  • derank: Strip all roles — removes permissions but keeps them in the server.
  • kick: Remove from the server — they can rejoin later.
  • ban: Permanent ban — recommended for strict, zero-tolerance servers.

05. Whitelist your trusted admins

Any admin who legitimately needs to perform mass actions (like manually purging a raid or deleting old channels) must be whitelisted. Non-whitelisted admins will be punished by Krypton if they exceed the limits.

/antinuke whitelist add @user
You can also whitelist entire roles using /antinuke wlrole add @role. Run /antinuke whitelist show to review who is currently exempt from limits.

06. Add extra Anti-Nuke Owners (Optional)

By default, only the server owner can manage the whitelist, change punishments, and modify anti-nuke settings. If you want to delegate this to a trusted co-owner:

/antinuke owner add @user

07. Set up a logging channel

Get real-time notifications in a private channel every time Krypton detects and stops a threat. Create a private channel visible only to admins for this.

/antinuke logging #channel

08. Verify your setup

Run the status command to see a full overview of your active protections, punishment setting, whitelist, and logging configuration.

/antinuke status