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.
- Set up an Anaconda environment on Windows 10 with the requirements below.
- Create a Discord Application with Admin priveledges and add the token in the marked area in bot.py.
- Connect the environment to Pycharm and run the code normally.
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) \