Anti-nuke

Stops one account from tearing the server apart. Too many bans, deletes or webhooks and its roles are gone.

Keroku needsView Audit LogManage RolesKick MembersBan Members

Set it up

  1. Put Keroku's role at the very top, above every admin role.
  2. Open Modules, then Anti-nuke, and turn it on.
  3. Check the limits and the window.
  4. Add trusted users, like bots you run yourself. Only the server owner can change anti-nuke's settings or turn it off.

Limits

Counted per account within the window (10 seconds to 10 minutes, default 1 minute). A limit of 0 turns it off.

LimitCountsDefault
BansMembers banned5
KicksMembers kicked. A prune counts every member it removes.5
Channels deletedChannels and categories deleted3
Channels createdChannels created10
Roles deletedRoles deleted3
Webhooks createdWebhooks created5

What happens

  • Strip roles (default): every role below Keroku's is removed. A bot's integration role can't be removed, so its permissions are cleared instead.
  • Kick or ban goes through the normal path with a case.
  • The modlog gets Anti-nuke triggered, even if the action failed. The owner gets a DM unless that is off.
  • Keroku acts once and ignores the rest of that burst for 10 minutes.

Never counted

The owner, Keroku's automatic actions and up to 25 trusted users. Bans and kicks a moderator runs through Keroku, like /ban and /massban, count against that moderator. A /massban that would hit the ban limit waits for the server owner to approve it in the modlog channel, and it expires after 5 minutes. Trusted users skip that.

Fixes