Table of Contents
Discord bot performing sentiment analysis on messages and labeling them into 28 different categories and storing the results using Mongo-DB.
Remove any of these if they dont match your project, or add more if you need to.
- Tensorflow
- Disnake
- Transformers
- PyMongo
- python-dotenv
- Docker
- Creat a free discord bot Discord developers portal to get a bot token
- Invite you new bot with admin permissions in your discord server
- Clone the repo
git clone https://github.com/vannsoko/SentimentAnalysisDiscordBot.git
- Renaming .env.exemple to .env
- Enter the needed env variables
BOT_TOKEN="EXAMPLE TOKEN REPLACE IN YOUR OWN ENV FILE" CHANNEL_ID="EXAMPLE CHANNEL ID REPLACE IN YOUR OWN ENV FILE" Ex: "123,456,678" MongoDBurl="EXEMPLE mongodb://localhost:27017/" DATABASE_NAME="EXAMPLE DATABASE NAME REPLACE IN YOUR OWN ENV FILE" COLLECTION_NAME="EXAMPLE COLLECTION NAME REPLACE IN YOUR OWN ENV FILE"
- Find an issue or create one your self. If you have create the issue please make sure that it is relevant to the project.
- Create your Feature Branch (
git checkout -b feature/AmazingFeature). Please use the name of the issue in the branch name. or reference the issue id in the name. - Do your changes and commit them (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request and wait for it to be merged