/DiscordModeratorBot

Repo for Tanay's Project

Primary LanguagePythonMIT LicenseMIT

Discord Moderator Bot

Description

A Multi-feature Discord Bot with of the main goals behind it being the ability to use Natural Language Processing to make conversing in Discord a safer and toxicity-free place, to actively check when questions related to the club are asked in chat, detecting these questions and answering them using a large dataset of information regarding the AI Club and finally a simple but efficient system of tracking member activity and displaying this data in a descriptive, easy-to-read and informative manner.

Members


Tanay Reddy

Bryan Tran

Emily Feuer

Abdullah Baqai

Pranav Premchand

Sudhanva Pulvender

Tanmay Grandhisiri

Usage

1. Creating a Virtual Enviroment

  • Inside your directory, run python -m venv .env to make your virtual environment

  • To Activate the environment run either of the commands below depending on your OS

    • For Linux or MacOS use source .env/bin/activate
    • For Windows use .env/Scripts/activate
  • Enter your API Keys for Discord and PerspectiveAPI and run the code

  • Next install the following dependencies

    • Dependency Command
      Pycord (Discord)

      pip install py-cord

      Google API

      pip install google-api-python-client

      MySQL

      pip install mysql-connector-python

      NLTK

      pip install nltk

    • Run main.py