The inspiration for this project came from a place of wanting to create a bot that could motivate you and help you keep on top of your studies! With the COVID-19 situation, study groups are no longer possible due to the social distancing measures, and it can be hard to stay motivated to study and work on assignments. Pomodorobo can act as an accountability holder, making sure you are studying and getting work done, but at the same time, it is there to encourage you, and to make sure that you are taking care of yourself at all times! It combines two very important things: staying on top of your studies and taking care of yourself, mentally and physically.
What it does
Pomodorobo implements the Pomodoro technique; it has a timer that runs for 25 minutes, corresponding to the number of minutes you need to study, and a timer that runs for 5 minutes, corresponding to break time! The user can request inspiration messages from Pomodorobo, along with self-care tips in general, and tips for things to do while taking breaks. In general, Pomodorobo is a study buddy; a timer, a motivator, and a caretaker.
How we built it
We built it using three main things: repl.it, Discord API, and Python libraries. In order to work with the Python library and the Discord API, we had to first create a Discord Bot account. Then we added the bot to a server! We used the discord.py, an API wrapper for Discord, to write the code for the bot using Python. Following this, we implemented our functions and added a READ_ME file. To test the functionality of the bot, we tried the commands on the discord app and observed its actions.
Challenges we ran into
There is a function in discord.py known as on_member_join which was not working. This function is used to display Pomodorobo's introduction and the commands it offers. However, it seems to be a problem for many people, so we had to improvise and add another command that does introductions in the meantime!
Accomplishments that we're proud of
We are proud of the bot we created! Although it is a simple project, we are proud to have created a tool that many students can find useful for their studies! We really kept the user in mind when creating this bot as we wanted to make it as user-friendly as possible! It was so much fun and such a rewarding experience.
What we learned
Aside from learning how to make a discord bot (which we think is really cool), we learned how APIs work! Since we had to connect python to discord, it gave us a glimpse of how APIs work.
What's next for Pomodorobo Study Buddy
Due to time constraints, we weren't able to add all the functionality we wanted. For the future, we want to implement a function that counts the number of study cycles that were made, and after 4 study cycles, the bot will give the user a 45-minute break! Furthermore, we want to add a function that can show how much time is left on the timer. Additionally, we would like to add functions that show you statistics of your study sessions. This can include how many study cycles you went through, and possibly how much material you got through.