Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 823 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 823 Bytes

DontBully

alt text

A Discord Bot that detects cyberbullying using Sentiment Analysis. bot.py is the bot code. sentai.py is the training code. I used Amit Chaudhary's Universal Sentence Encoder as the ML section of the training code but added usability improvements.

Steps to use:

  1. Set up an Anaconda environment on Windows 10 with the requirements below.
  2. Create a Discord Application with Admin priveledges and add the token in the marked area in bot.py.
  3. Connect the environment to Pycharm and run the code normally.

Requirements:

tk==8.6.10 (anaconda)
pandas==1.1.3 (anaconda)
python==3.8.5 (anaconda)
tensorflow-hub==0.12.0 (anaconda)
tensorflow-gpu==2.3.0 (conda-forge)
scipy==1.6.2 (anaconda)
scikit-learn==0.23.2 (anaconda)
discord.py==1.7.2 (conda-forge) \