A Discord Bot that allows you to protect your Discord server with captcha, anti profanity, anti nudity image, anti spam, account age required, logs...

Darkempire78 Darkempire78 Last update: Dec 23, 2023

THIS REPO IS DEPRECATED

Modules may/will not work, and no support will be given on discord and/or git issues

If you still want to contribute to this project, feel free to update it and make a pull request, it will still be read.

Raid Protect Discord Bot

Raid Protect is a Discord bot wich allow to protect your discord server efficiently.

Captcha

Installation

Install all dependencies:

  • pip install -r requirements.txt
  • Then put your Discord token that can be found in the Discord's developers portal inside config.example.json (do not change anything else)
  • Rename it to config.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.

Features

This Discord Bot protect your Discord server with many functions.

  • Captcha firewall
  • Minimum account age required
  • Anti nudity image
  • Anti profanity
  • Anti spam
  • Logs
  • Basic moderation commands
  • Multi guild support
  • Multi language (EN, FR)

Restrictions do not affect members with ADMINISTRATOR permission !

Logs

Commands

?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.

?ban <@user/ID> : Ban the user.
?kick <@user/ID> : Kick the user.

?changeprefix <prefix> : Change the bot's prefix for the guild.
?changelanguage <language> : Change the bot's language for the guild.
?help : display help.

Potential errors

ImportError: cannot import name 'joblib' form 'sklearn.externals'

You have to download the last version of profanity_check. Unstall you current version and download the v1.0.6 with git+https://github.com/dimitrismistriotis/profanity-check

Discord

Join the Discord server !

- Deprecated Note : No support will be given for this repo, feel free to join it if you just want to hang with other fellow contributors and devs -

Contributing

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.

License

This project is under GPLv3.

Stargazers

Stargazers over time

Advice :

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).

Subscribe to our newsletter