Skip to content

A Discord Bot that detects cyberbullying using Sentiment Analysis

License

Notifications You must be signed in to change notification settings

JasperNg/DontBully

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Discord Bot that detects cyberbullying using Sentiment Analysis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages