Home /Docs /Anti-nuke

Anti-nuke

Stop a rogue or compromised admin mass-deleting or mass-banning.

What it does

Watches the audit log for mass channel/role deletes or mass bans. When a non-trusted actor trips the threshold, their roles are stripped and you are alerted. Dry-run mode available. Owner and trusted actors are exempt.

Safety

Fails closed on uncertainty β€” better to miss a borderline case than strip a real admin on a guess.

Structure recovery

Optional rolling snapshots of roles and channels so you can recreate what a nuke deleted.

  • Enable auto_snapshot on the Anti-nuke section (dashboard) β€” saving with anti-nuke + auto_snapshot on queues an immediate snapshot, then refreshes about every 6 hours.
  • Or take a snapshot on demand: dashboard β†’ Settings β†’ Structure recovery β†’ Take snapshot now.
  • After a trip, restore with Restore missing roles/channels (best-effort: recreates missing names; does not undo renames or permission overwrites).
  • On a trip, the bot alerts if a snapshot is available (it never captures post-nuke β€” that would lock in the damage).

Bot needs Manage Roles and Manage Channels, and its role must sit above roles it recreates.

Config clone

Dashboard β†’ Settings β†’ Config backup & clone: copy all sections from another server you can read onto the current server (write access required). Channel and role snowflakes are not remapped β€” re-set IDs on the target. Same engine as JSON export/import.

← All docs Β· Product overviewΒ· Dashboard