Spooky's documentation
Security
Antinuke Authorization

Antinuke Authorization

Enhance server security with OAuth2 integration.

By enabling OAuth2 integration for the bot, you can enhance server security by allowing the bot to automatically re-add users who were mass-banned or kicked. This feature works in conjunction with the Antinuke protection to help prevent mass disruptions to your community.

How OAuth2 Works with Antinuke

If Antinuke is enabled and a mass ban or kick event occurs, the bot can automatically re-add affected users to the server if the guilds.join OAuth2 permission was granted.
If a user has been kicked or banned and the bot detects that this action was unauthorized, the bot can invite them back using the OAuth2 flow.
To enable OAuth2, you can authorize the bot using the following link: Authorize the bot
By authorizing the bot through OAuth2, you ensure that the bot has permission to manage critical security functions and enhance your server’s protection.
Share this link with your community members to enhance overall server protection against mass actions.
If you enable guilds.join OAuth2, the bot can re-add users automatically if they were mass banned or kicked, provided Antinuke protection is enabled.