Antinuke Modules

Explains what the modules mean (because we all know your brain is the size of a peanut)

Role Creation Module

This module will be triggered when an unauthorized member or bot creates a role. This is a counter against the nuking bots that don't actually nuke and just create a bunch of roles with Join discord.gg/ihavenolife as the name

Role Editing Module

This module will only be triggered when the name, color, or icon of a role is edited by an unauthorized member or bot. Similar to the Role Creation Module, this for those bots that edit a bunch of roles to have a certain name.

Upon edit, the role will be edited back to its original name or color. Unfortunately, due to discord instantly taking the icon to the back of the barn, I cannot edit the icon back to the original icon.

Role Deletion Module

This module will be triggered when an unauthorized member or bot deletes a role. I don't really have to explain why this is useful to have one, it kind of speaks for itself.

Role Mentionable Module

This module will be triggered when an unauthorized member or bot edits a role to be mentionable by everyone. (This will not trigger if its turning off the mentionable by everyone, only when turning on) It turns out, you can actually just edit the mention-ability of a role with just Manage Roles permissions. So, say you had a role (aka main member role) with a bunch of people in it... and now everyone can ping the role... You seeing the picture? Basically, this will just deny people from being able to do this.

Upon the editing of the role to be mentionable, unsurprisingly, the role will be edited to not be mentionable by everyone. If anything, I would put this to be the max heat possible so if any unauthorized person edits this, they will get instantly antinuked.

Channel Creation Module

This module will be triggered when an unauthorized member or bot creates a channel. Also similar to the Role Creation Module, this is just a way to prevent people from creating a bunch of channels with their server invite in it.

Channel Editing Module

This module will only be triggered when an unauthorized member or bot edits the name or topic of a channel. I don't want to explain it again, so just refer to Role Editing Module's explanation.

Upon edit, the channel name or topic will be reset back to its original name or topic.

Channel Deletion Module

This module will be triggered when an unauthorized member or bot deletes a channel. Also self explanatory, I don't think you want someone deleting your precious #furry-roleplay channel.

@everyone Module

This module seems super simple at first, but it's not! You're welcome. If you don't care about doing advanced things, this will only be triggered when an unauthorized member pings @everyone or @here.

For those who really like making things complicated, I love you. I made a feature just for you!

Find this option in the ,an config command

Once you click on that option, go to @everyone Role Mention option. Once you click on it, a modal will pop up and require you to put in a number. This number will decide how many members will need to be in a role compared to the server's member count when pinging a role for the member to trigger the module. Luckily, after setting it, it will show you the percent you chose, as well as the approximate amount of members will need to be in the role for it to trigger antinuke.

Example of what was explained above

Server Name Module

I was quite surprised to find out this isn't a module on many antinuke bots. Basically, this module will be triggered once an unauthorized member or bot changes the server name. Since most nukes include the server name being changed, I decided to add this as a protection against it.

Upon the server name being updated, it will be renamed back to what it was named before.

Server Icon & Banner Module

This module will be triggered when an unauthorized member or bot changes the server's icon or banner. Unfortunately, similar to the Role Edit issue, discord gives it the Old Yeller Treatment, and instantly deletes your servers icon and banner from the API when it's changed. This means brew cannot edit your icon back. Thanks discord!

Vanity Module

This module will be triggered when your vanity url is changed by an unauthorized member or bot. Yes, that dreaded feeling waking up, seeing more dms than usual, checking your vanity url, only to find out that it was changed to discord.gg/(insert discord loser)washere. Unfortunately, brew cannot help you with this issue due to discord removing it from the bot's API to edit server vanities. However, it can still detect when a member changes it, and punish the member accordingly.

Prune Module

This module will be triggered when an unauthorized member or bot prunes your precious 4000 authed members. Due to discord limitations, brew cannot stop a prune, but it can detect and take action against the loser who pruned.

Emoji Creation & Deletion Modules

These modules will be triggered when your emojis are deleted or created by an unauthorized member or bot. Not much else to say here.

Sticker Creation and Deletion Modules

These modules will be triggered when your stickers are deleted or created by an unauthorized member or bot. Also not much else to say here.

Anti-Ban & Anti-Kick Module

This module will be triggered when an unauthorized member or bot bans or kicks a member. I'd suggest keeping the heat for this around 20-40 (5-3 triggers) so that they can't ban too many members before getting bombed by brew.

Webhook Creation Module

This module will be triggered when an unauthorized member or bot creates a webhook. This module is essential for a plethora of reasons, #1 being that anyone with the webhook link can spam ping @everyone and blow up your server. Not good.

Upon creation, the webhook will instantly be deleted. I suggest keeping this module's heat at max possible because webhooks the big bad!

Last updated