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
- Put Keroku's role at the very top, above every admin role.
- Open Modules, then Anti-nuke, and turn it on.
- Check the limits and the window.
- 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.
| Limit | Counts | Default |
|---|---|---|
| Bans | Members banned | 5 |
| Kicks | Members kicked. A prune counts every member it removes. | 5 |
| Channels deleted | Channels and categories deleted | 3 |
| Channels created | Channels created | 10 |
| Roles deleted | Roles deleted | 3 |
| Webhooks created | Webhooks created | 5 |
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.