Free Discord Anti-Nuke Bot | Sentry (sentrybot.net)
Features Anti-Nuke Anti-Raid Honeypot Moderation Utilities Docs Support Server Twitter / X Add to Discord

Free Discord Anti-Nuke Bot

Protect your Discord server from destructive staff actions with configurable limits, automatic quarantine, and security alerts. Sentry helps reduce the damage caused by compromised accounts and malicious bots.

#mod-logs
SentryAPPToday at 21:04
@Admins
Nuke Attempt Stopped@helper_alex went past what one person may do here in 60 seconds.
Who · @helper_alexTripped · Channels deleted — 4 in 60s, limit 3Action taken · Quarantined — 5 roles taken, restorable
Everything they've done recently· Channels deleted — 4· Roles deleted — 2
Restore Roles Ban Them Ignore
Example alert. Layout reproduced from Sentry's alert card; names are illustrative.
The basics

What is Discord anti-nuke?

A server nuke is a fast, deliberate wipe: channels and roles deleted, members banned, webhooks removed. It usually comes from an account that already has permissions, such as a moderator whose account was compromised or a bot someone added.

Anti-nuke protection gives each account a budget for high-risk actions. Normal admin work is slow and spread out. A nuke script goes far past the budget within seconds, and that is when the bot steps in.

Anti-nuke vs anti-raid

/antinuke Watches what accounts inside the server do with their permissions. Can quarantine, kick or ban the account.
/antiraid Watches for lots of accounts joining at once. Alerts staff with buttons to respond.
Discord anti-raid protection →
What it watches

What does Sentry protect against?

Sentry counts 17 kinds of action, per account. Destructive ones get the account stopped. Vandalism-style changes only alert staff, because stripping an admin's roles over a renamed channel does more harm than the rename. Defaults are shown; every limit can be changed.

Automatic intervention

Stops the account

Going past the limit triggers your chosen punishment.

  • Channels deleted3 / 60s
  • Roles deleted3 / 60s
  • Members banned5 / 120s
  • Members kicked5 / 120s
  • Members pruned1 / 120s
  • Webhooks deleted3 / 60s
  • Dangerous permissions granted to a role2 / 120s
  • Dangerous role given to a member2 / 120s
  • Bots added3 / 120s
  • Vanity URL changed1 / 120s

Dangerous means Administrator, Manage Server, Manage Roles, Manage Channels, Manage Webhooks, Ban Members, Kick Members or Manage Expressions. Ordinary role changes from autorole or self-role panels are not counted.

Alert only

Tells your staff

Going past the limit sends an alert. Nobody's roles are touched.

  • Channels renamed5 / 60s
  • Roles renamed5 / 60s
  • Server name or images changed3 / 60s
  • Channels created5 / 60s
  • Roles created5 / 60s
  • Webhooks created3 / 60s
  • Emojis or stickers deleted5 / 60s
How it works

How Sentry stops a nuke

  1. 1

    A risky action happens

    A staff account or bot deletes a channel, bans a member, or grants Administrator.

  2. 2

    Sentry reads the audit log

    Each action arrives live from Discord's audit log, already tied to the account that did it.

  3. 3

    The limit is passed

    With default limits, a 4th channel deleted within 60 seconds goes over.

  4. 4

    Sentry responds

    The account is quarantined, kicked or banned, depending on your setting.

  5. 5

    Staff get the alert

    A card goes to your alert channel and to the server owner's DMs.

Features

Key anti-nuke features

/antinuke limit

Configurable limits

Each action has its own limit (1–50) and its own time window (10–600 seconds). Defaults are 60 seconds for most structural changes and 120 seconds for actions against members.

punishment:Quarantine

Automatic quarantine

The default response. Sentry removes every role it is able to manage from the account and saves the list, so a real admin caught mid-task loses nothing permanently.

Restore Roles

Reversible role restoration

One button gives the saved roles back. If it fails, the roles stay saved so you can retry. If the member left, it works once they rejoin.

alert_role

Detailed security alerts

Who did it and their ID, which limit they passed and by how much, what Sentry did, and everything else they did recently. Pings the role you pick.

/antinuke exempt

Trusted account exemptions

Exempt any role or member. The server owner is always exempt. Bots are watched by default, since a malicious bot is a common way servers get nuked.

/antinuke config

Customizable responses

Choose Quarantine, Kick or Ban. If a kick or ban isn't possible, Sentry quarantines instead. Only administrators can press the alert buttons.

In Discord

What you'll see in your server

SentryAPPOnly you can see this
Anti-Nuke On
Alerts go to · #mod-logsPings · @AdminsAt the limit · quarantineExempt · owner and anyone above me
Quarantines them, per person· Channels deleted — 3 in 60s· Roles deleted — 3 in 60s· Members banned — 5 in 120s…
/antinuke status shows where alerts go, the punishment, exemptions, and every limit.
SentryAPPToday at 21:06
Nuke Attempt Stopped@helper_alex went past what one person may do here in 60 seconds.
Who · @helper_alexTripped · Channels deleted — 4 in 60s, limit 3Action taken · Quarantined — 5 roles taken, restorable
5 roles restored by server_owner
After an admin presses Restore Roles, the card updates and the account's counters reset.
Setup

How to set up Sentry anti-nuke

There's no dashboard. Everything is done with slash commands in your server, and it takes about a minute.

Full anti-nuke docs →
Before you start
  • You need the Administrator permission to use /antinuke.
  • In Server Settings → Roles, drag Sentry's role above your staff roles. Sentry can't act on anyone whose role is above its own.
  • Anti-nuke is off until you enable it.
  1. 1

    Configure alerts and punishment

    Choose where alerts go, who gets pinged, and what happens at the limit. If you skip channel, alerts use your /logs channel.

    /antinuke config channel:#mod-logs alert_role:@Admins punishment:Quarantine
  2. 2

    Turn it on

    Anti-nuke starts watching right away with the default limits.

    /antinuke enable
  3. 3

    Change a limit

    Optional

    Pick the action from the list. allowed is 1–50, seconds is 10–600.

    /antinuke limit action:Channels deleted allowed:2 seconds:60
  4. 4

    Exempt a trusted role or member

    Optional

    Run it again to remove the exemption.

    /antinuke exempt role:@Co-Owners
  5. 5

    Check your settings

    /antinuke disable turns it off and keeps your settings.

    /antinuke status
Free

Free anti-nuke protection, with nothing held back

Sentry has no paid tier and no subscription. Quarantine, custom limits, exemptions and alerts are available to every server, alongside the rest of Sentry's moderation tools.

  • Quarantine
  • Kick or ban
  • Custom limits
  • Exemptions
  • Security alerts
  • Restore Roles

What anti-nuke can't do

  • Not a backup tool

    It doesn't bring back deleted channels or roles. It limits how many get deleted.

  • Acts after the limit

    It acts once a limit is passed, so actions up to the limit still go through.

  • Role order matters

    It can't act on the server owner or anyone whose role is above Sentry's. The alert still fires.

  • Managed roles only

    Quarantine only removes roles Sentry is allowed to manage.

FAQ

Frequently asked questions

Can't find your answer? Ask in the support server.

01

Is Sentry a free Discord anti-nuke bot?

Yes. Sentry has no paid tier or subscription, and anti-nuke is fully available to every server.

02

How can I prevent my Discord server from being nuked?

Give dangerous permissions to as few people and bots as possible, ask staff to use two-factor authentication, and add an anti-nuke bot. With Sentry, run /antinuke enable and keep Sentry's role above your staff roles.

03

Can Sentry automatically stop mass channel deletion?

Yes. By default, an account that deletes more than 3 channels within 60 seconds is quarantined, kicked or banned, depending on your setting. The channels deleted before that point are not restored.

04

Does Sentry protect against compromised moderators?

Yes, as long as their highest role is below Sentry's and they aren't exempt. Limits apply per account, so one compromised moderator is stopped without affecting the rest of your staff.

05

What happens when suspicious activity is detected?

For destructive actions, Sentry applies your punishment and posts an alert with Restore Roles, Ban Them and Ignore buttons. For alert-only actions, it posts the alert and changes nothing. The server owner gets a copy by DM either way.

06

Can Sentry restore deleted channels or roles?

No. Sentry can give back the roles it took from a quarantined account, but it does not back up or recreate deleted channels or roles.

07

How do I enable anti-nuke?

Add Sentry to your server, then, as an administrator, run /antinuke enable. Use /antinuke config to choose the alert channel and punishment.

/antinuke
/antinuke status
/antinuke enable

Turn on anti-nuke in two commands

Add Sentry to a server you manage, or join our support server for help setting it up.