Security
Antinuke
Cap how much one account can destroy per minute.
Antinuke limits how much damage one person, or one hacked mod account, can do in a minute. Only the server owner and antinuke admins can use ,antinuke. Only the owner can change the admin list with ,antinuke admin add, admin remove and admin list.
Modules
| Module | Counts |
|---|---|
ban | Bans |
kick | Kicks |
role | Role deletions |
channel | Channel creations and deletions |
emoji | Emoji deletions |
webhook | Webhook creations |
vanity | Vanity URL changes |
botadd | Bots being added |
Turning one on
,antinuke <module> <on|off> [punishment] [threshold] [true|false]
- punishment is
ban,kick,strip(removes roles that carry staff permissions) ortimeout. - threshold is 1 to 20 actions inside a 60 second window.
- The last value is command detection. For
ban,kickandrole,truealso counts this bot's own ban, softban, kick and role-delete commands against each moderator.
When the limit is hit, the owner gets a DM.
The owner, the bot, and anyone on the whitelist are exempt. Manage that with ,antinuke whitelist add, remove and list.
Note:
botaddremoves the bot that was added and punishes whoever added it. A vanity URL change is punished, but it can't be changed back.
Permission watching
,antinuke permissions watch <granted|removed> <permission>
,antinuke permissions unwatch <granted|removed> <permission>
,antinuke permissions list
Watched changes to a role's permissions are reverted unless the person making them is exempt. You can watch administrator, ban_members, kick_members, moderate_members, mention_everyone, manage_guild, manage_channels, manage_roles, view_audit_log, manage_webhooks, manage_expressions and manage_nicknames.
What the bot needs
View Audit Log, the ban, kick and manage permissions it will be undoing, and a role above the people it needs to punish.
Counters reset when the bot restarts. The 60 second windows are not saved.