Discord Hack Week Moderation Bot by Grrrrrrrr team
A discord bot that will keep communities a safe environment by censoring insults and spam through the use of neural networks. This bot will scan all messages sent within a server (minus the excluded channels ie: mod talk) and run their contents through a few neural networks that are trained on spam copy pastas and troll messages.
This is our discord server, where you can get any kind of help with this bot or just test some of its features!
https://discord.gg/bwva9ut
- J_C___#8947
- Marto#0874
- Nolewit#9352
- Ziad (RvPso)#3363
- Potato#6037
- Join Log: When a new user joins the server it will tell the mods about that user
- Reaction Roles: Users can add custom roles to themselves with this highly customizable, easily configurable module.
- AutoModerator: This is the largest and most exciting feature of RAM. This module acts as a much more robust version of Discord's Explicit Content Feature. Passing all your messages through Google's Perspective API RAM can determine if what users are saying is insulting or demeaning to others! We designed this feature to take the pressure off of a lot of moderators shoulders so they can stop worrying so much about message censoring.
- Server Level Settings: This bot was built to be hosted by one individual and spread across the discord mulit-verse using invite links. Each server can enable and disable commands and features using !enable [command] or !disable [command] as we will show more of later.
- API Using Python's Flask: Using the same database as the bot you can manage your servers settings with out API!
- Web Dashboard: Work in Progress (We almost got this working but unfortunately due to time constraints we could not complete it)
- !help: Shows all available modules, use !help [module_name] to learn how to use each module
- !enable autoMod: Automatically filter inappropriate chat messages leveraging the power of Artificial Intelligence
- !joinLog: Get useful intel on who joins your guild, including invite link used and account's age
- !reactionRoles: The popular feature, made easy
Using !enable autoMod #logs
allows the bot to output logs to the specified channel like this:
This bot is very simple to setup for yourself!
-
Obligatory clone the Repo.
-
Duplicate the config.json.example file to be config.json and fill out the fields present
-
Next we need to install MongoDB to your machine where you will be hosting this bot!
- Windows Install Instructions
- For Mac just run
brew install mongo
and make sure its running withbrew services start mongodb
- Ubuntu:
sudo apt-get install mongodb
-
Next to install the dependencies please run these commands
pip install -r requirements.txt
-
Then if you want to test your mongo setup there is a file named
/bot/cogs/utils/test_db.py
that you can run. You should see DB TESTS PASSED if everything worked fine -
Finally to start the bot portion of the application run the
main.py
file inside the bot folder!