Skip to content

Security

Anti-nuke

Watches destructive admin actions and keeps snapshots for recovery.

AvailableAlways free

security-alertsExample

GaritaBOTToday at 4:20 PM

🛡️ Anti-nuke: destructive activity

@ex_moderador exceeded the Channel deletion threshold (3 in 60 s).

nki_01jcq9b7t5 · Garita

Example recreation of what the bot posts in Discord. Names, IDs and numbers are examples.

Limits per person

Channel deletion3 in 60 s
Role deletion3 in 60 s
Mass bans5 in 60 s
Mass kicks5 in 60 s

What to do

Remove dangerous roleson
Save snapshotsEvery 24 h

Example recreation of what the bot does in Discord: the names, the server and the numbers are made up.

What it does

If someone with permissions starts deleting channels or roles, or banning people in bulk, Garita strips their dangerous roles as soon as they cross the limit and alerts your staff. It also keeps snapshots of your structure so you can get it back.

  • Per-person limits for channels, roles, bans, kicks, webhooks, emojis and bots
  • Automatic snapshots of roles and channels, and on demand with /antinuke snapshot
  • Restore preview before anything changes
  • The owner and trusted users are not targeted
  • Sanctions carried out through Garita count against the moderator who asked for them

Commands

Type / in Discord and they show up by themselves. Anti-nuke has 4:

Anti-nuke
CommandWhat it doesWho can use it
/antinuke statusRecent incidents and snapshotsAdministrators Server administrators only.
/antinuke snapshotSave roles and channels nowAdministrators Server administrators only.
/antinuke previewPreview what a restore would recreateAdministrators Server administrators only.
/antinuke applyApply a previewed restoreAdministrators Server administrators only.

“Who can use it” is each command’s default permission. Administrators can change it in Discord: Server Settings → Integrations → Garita.

See every Garita command

Safe by default

Before Anti-nuke does anything in your server, all of this holds:

  1. By default, its setup commands are for server administrators only.

  2. Garita checks its own permissions before it switches on and before every action. For Anti-nuke it needs: View Audit Log, Manage Roles, Manage Channels. Its optional features also ask for: Kick Members, Ban Members, Manage Webhooks. They are checked when used, not before.

  3. It respects the role order: Garita does not act on a member or touch a role that is level with its own role or above it.

  4. It starts switched off: it does nothing in your server until you turn it on.

  5. Changing its settings in the dashboard is reserved for your team’s administrators and asks for confirmation.

  6. It is on record: what it does is written to Garita’s audit log.

Two reasons to use it

  • Recreates deleted roles and channels

    Snapshots keep name, position, permissions and settings. A restore lists only what no longer exists and asks for explicit confirmation before it runs.

  • Removes the power, not just alerts

    When it triggers, it strips the person's roles with dangerous permissions and kicks the bots they added, as long as Garita's role is above theirs.

Live demo

See this feature in the demo dashboard

Garita’s dashboard with sample data: you get in without an account, change the Anti-nuke settings and see the preview. Nothing is saved.

Open the demo dashboard

How it works

  1. Switch Anti-nuke on in the dashboard: it starts in observation mode, which alerts without acting.

  2. Choose the alert channel, the limit for each kind of action and the response: strip dangerous roles, quarantine, kick added bots or ban.

  3. If someone goes over a limit, Garita alerts you and removes their roles with dangerous permissions; recreate what was deleted with /antinuke preview and /antinuke apply.

Frequently asked questions

Can it stop the owner or someone ranked above Garita?

No. Discord rejects any action on the owner and on members with a role above the bot's. In that case Garita alerts you so you can act by hand, which is why its role should sit as high as possible.

What cannot be restored?

Deleted messages, the content of recreated channels, and deleted emojis, stickers or webhooks. Recreated channels and roles get new IDs, and roles are not given back to the members who had them.

How do I get Anti-nuke going?

Switch Anti-nuke on in the dashboard: it starts in observation mode, which alerts without acting.

Is Anti-nuke free?

Yes, and it will stay that way: Anti-nuke is part of Garita’s security, which is free on every plan.

See the plans
Which permissions does Anti-nuke need?

In Discord, Garita needs: View Audit Log, Manage Roles, Manage Channels. Only for its optional features: Kick Members, Ban Members, Manage Webhooks.

Which permissions each feature needs
Does it work in my language?

Garita answers in 10 languages: Español, English, Français, Deutsch, Português (Brasil), Türkçe, Русский, 한국어, 繁體中文, العربية.

Set up your server with Garita. The essentials are free.

One bot for your community’s security, moderation and everyday life.