Raid Protect is a Discord bot wich allow to protect your discord server efficiently.
Install all dependencies:
pip install -r requirements.txt
Then put your Discord token that can be found in the Discord's developers portal inside configuration.json
.
This bot have to use the "server members intent", so you have to enable it in the Discord's developers portal.
Finally, host the bot and invite it to your own server.
This Discord Bot protect your Discord server with many functions.
- Captcha firewall
- Minimum account age required
- Anti nudity image
- Anti profanity
- Anti spam
- Logs
Restrictions do not affect members with ADMINISTRATOR permission !
?setup <on/off> : Set up the captcha protection.
?settings : Display the list of settings.
?giveroleaftercaptcha <role ID/off> : Give a role after that the user passed the captcha.
?minaccountage <number (hours)> : set a minimum age to join the server (24 hours by default).
?antinudity <true/false> : Enable or disable the nudity image protection.
?antiprofanity <true/false> : Enable or disable the profanity protection.
?antispam <true/false> : Enable or disable the spam protection.
?allowspam <#channel> (False) : Enable or disable the spam protection in a specific channel.
?lock | unlock <#channel> : Lock/Unlock a specific channel.
?userinfos <@user/ID> : Get user infomations.
?help : display help.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
This project is under GPLv3.
You should use Discord Tools to code your Discord bots on Visual Studio Code easier. Works for Python (Discord.py), Javascript (Discord.js, Eris) and Java (JDA). Generate template bot and code (snippets).