Inspiration
During the pandemic, we noticed that uncertainty surrounding COVID-19 had a negative effect on people's mental health. We wanted to create a project that could help people restore their lives to how they were before the pandemic. Inspired by the capabilities of other Discord bots, we looked to Discord, a virtual platform that many school clubs and classes had been using to adjust to online learning. This technology would be able to achieve our goals and reach the audience that needs it the most.
What it does
Our Discord bot keeps server members organized and in check with their mental health. Commands allows users to:
- Quickly access a list of helplines
- Set timers and add new ones
- Check your personal schedule and add new events
- Log your mood
- Monitor your Discord usage and average recent mood
- See a motivational quote
- See cute pet photos
- Read jokes
- Read some good news
- See food pictures
- See memes
How we built it
The bot was coded in Python. We used the following libraries:
- os
- discord
- dotenv
- random
- requests
- json
- BeautifulSoup
- time
- datetime
As well, we used the following APIs:
- Reddit API (https://towardsdatascience.com/how-to-use-the-reddit-api-in-python-5e05ddfd1e5c)
- Dog API (https://dog.ceo/dog-api/)
- Cat API (https://thecatapi.com/)
- ZenQuotes Premium (https://premium.zenquotes.io/zenquotes-documentation/)
We also used the following source for the list of hotlines:
Challenges we ran into
The Discord and Reddit APIs were very challenging to use at first because none of us had experience with them before. We had to spend hours reading the documentation and experimenting with it before we could use them effectively in our project. As well, we had issues using time in functions like timer and schedule. This also took a while for us to get used to.
Accomplishments that we're proud of
We’re proud that we were able to create a functional Discord bot with various features in just over a day. We’re also glad we were able to divide tasks and communicate well to efficiently complete our project.
What we learned
We learned the basics of creating a Discord bot and working with APIs.
What's next for Positivity Bot
We hope to implement more commands and improve the functionality and user-friendliness of our current ones, as well as improve the structure of our code.

Log in or sign up for Devpost to join the conversation.