Skip to content

TeddyZaremba/SentimentAnalysisBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Discord Sentiment Analysis Bot

A discord bot that analyzes the sentiment of the channel's chat. It logs all the chats into a MongoDB database and analyzes them to output into the chat.

Setup

  • Go to the developer portal in discord and create an application. Get the token and set this in the config.json file as TOKEN.
  • Set your MONGODB_URI in the config.json file

Installation

go version: 19.4

go get "github.com/joho/godotenv"
go get "github.com/bwmarrin/discordgo"
go get "github.com/cdipaolo/sentiment"

Execution / Usage

go run main.go

Type "!Sentiment" in the chat to run a full sentiment analysis on all the chats.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages