Disclaimer: The dataset used for training this bot contains text that may be considered profane, vulgar, or offensive.
- Github : https://github.com/ToxicBot-Discord/ToxicBot/
- Discord : https://discord.com/
View the demo of ToxicBot on Youtube๐๐
Discussing things you care about can be difficult. The threat of abuse and harassment online means that many people stop expressing themselves and give up on seeking different opinions. Platforms struggle to effectively facilitate conversations, leading many communities to limit or completely shut down user comments. Toxic or insulting comments are no where more evident than the popular platform Discord since it is possible to remain anonymous on Discord. We try to develop a discord bot that can remove toxic comments and warn users. It can also provide reports to the guild or server owner about all the members whoose comments have been deleted ( not implemented ).
- python 3.6+
- pip
- Discord Developer Account
apple@Apples-MacBook-Air ~ % git clone https://github.com/ToxicBot-Discord/ToxicBot.git
apple@Apples-MacBook-Air ~ % cd ToxicBot
apple@Apples-MacBook-Air ~ % bash setup.sh
apple@Apples-MacBook-Air ~ % cd ToxicBot
apple@Apples-MacBook-Air ~ % source env/bin/activate
apple@Apples-MacBook-Air ~ % python app.py
- Download and Install Python 3.6 (64 Bit Version) https://www.python.org/ftp/python/3.6.5/python-3.6.5-amd64.exe
- Download and Install git for windows from https://git-scm.com/download/win
- Now open the "git bash" app (Righ-Click on the desktop you will find the "git bash here" option.)
- Clone the repository -
git clone https://github.com/ToxicBot-Discord/ToxicBot.git
- Execute these commands in your git bash
cd ToxicBot
sh setup-win.sh
- When you exceute the
sh setup-win.sh
after sometime, it will ask you for discord token. Paste your token and hit enter. - installation Done - Now we have to run the app
- To run execute the following commands in your git bash
cd ToxicBot
. env/Scripts/activate
python app.py
- Github : https://github.com/ToxicBot-Discord/Toxic-Comment-Classification
- Kaggle : https://www.kaggle.com/c/jigsaw-toxic-comment-classification-challenge/
- Algorithm : GloVe Embedding and Recurrent Neural Network ( LSTM )
- Github : https://github.com/ToxicBot-Discord/Unintended-Bias-in-Toxicity-Classification
- Kaggle : https://www.kaggle.com/c/jigsaw-unintended-bias-in-toxicity-classification
- Algorithm : GloVe Embedding and Recurrent Neural Network ( LSTM )