Lets get productive on Discord with Bookie Bot!
Invite To Your Server!
Available On Repl
Like us on DevPost
Our Discord bot, Bookie Bot, has many productivity functions built inside of it, such as: To-Do List Pomodoro Technique Timer Grade Calculator Motivational Quote Generator Lifestyle Reminder Help Function
When Covid-19 first hit, everyone was forced to move to online learning, where many had trouble with productivity, focus, and procrastination. We personally faced these problems as well, and considering that many people including ourselves still have online learning, we decided to create a Discord bot that would help with that.
We built the whole project on repl.it in order to efficiently collaborate remotely. We used Flask as our framework and to host our local server to keep it running indefinitely. We also used Python as our main programming language. We split Bookie Bot's functions into its own separate classes and had a main function that would call each function when called by the user.
We initially wanted to have a scientific calculator similar to Wolfram Alpha's online calculator, and so we tried importing its APIs but had great difficulty dissecting and decoding the JSON file it outputted. After several hours of trial and error, we decided to cut our losses and move on. Another challenge we ran into was the implementation of the asynchronous timer functions such as the Pomodoro Timer and Lifestyle Reminder, where we would need these functions to time themselves in the background, whilst still being able to call other functions in Bookie Bot. After a couple of hours, we eventually solved the logic behind the asynchronous functions and managed to successfully implement it.
As mentioned above, we are very proud of our ability to overcome the logic behind the asynchronous timer functions, where we managed to have the functions run in the background. Another thing we are proud of is the successful use of a local Flask server to host our bot, in order to have it run indefinitely.
As our first-ever hackathon, we learned a great deal. We learned a lot about how Discord bots are made, how to connect them to servers using tokens, how to host bots on local Flask servers, asynchronous functions, how to create Discord bot functions, and how to import and decode external APIs, and how to debug Discord APIs.
As we have online summer school, all of us will continue to use Bookie Bot for our online productivity. We are also connecting it to our friends' servers to show off what we have made. As our first-ever hackathon project, Bookie Bot has served as a great learning opportunity and will act as a stepping stone to bigger and better projects for us in the future.
Python, Flask, JSON, DiscordAPI, Repl
To get started Click Me to invite Bookie to your server!
- !todo - Personal todo list
- !pmd - Pomodoro Timer
- !quote - Get a motivational quote
- !gradecalculator - Calculate current grade in a class
- !lifestyle - Healthy studying reminders
---------------------------
use !help (command name) to get help with a specific function
Distributed under the MIT License. See LICENSE for more information.