Inspiration

I have always liked building discord bots and also wanted to learn more about NodeJS. So based on some of my starting work playing around with cool machine learning concepts, I thought it would be a great idea to include some of that in this project.

What it does

Using this bot, Administrators can check if a user has been negative or positive in the Discord server. The bot uses sentiment analysis and machine learning and assigns a "negative score" to each of the last 100 or so messages a user has sent.

How we built it

I built the bot using NodeJS, the Nix environment on Repl.

Challenges we ran into

It was quite hard to learn how to use promises in javascript. It was always a struggle in trying to fix the await/async functions and the large array of promises that we got from a large number of messages.

Accomplishments that we're proud of

I'm really proud of how well the bot works and how I was finally able to incorporate machine learning into some cool projects. Also, I love that I got to use back-end and nodejs.

What's next for Positivity Discord Bot

Maybe I can add more to the tips to stay more positive. Maybe using some kind of AI generative model that can have a quick one-on-one conversation with the user can help them.

Built With

Share this project:

Updates