-
-
An example of the !risk command. This shows how to input parameters and the expected results from the input.
-
A visualization of the !stats command. This command redirects to a Johns Hopkins University link that delves into the COVID-19 statistics.
-
The information website that explains the Discord bot. It includes the commands and a brief overview of our goal.
-
A quick look at some of the code in our project!
Inspiration
With all the misleading information and with so many worries about COVID-19 going around, we want to provide a solution to the qualms that people have about COVID-19. We chose to make a discord bot because we knew that we could tap into discord's huge user base and help the most people in the quickest time possible in this way. We got our inspiration to use a discord bot from how convenient and useful the discord bots in the ThetaHacks server are, as well as from our personal experience with helpful bots.
What it does
Covibo has several commands you can view by typing '!help' and waiting for the bot description to pop up. It's basically a quick and easy way to get COVID-19 information! It gives clear facts to the public to help them avoid misleading news. Our bot's purpose is to clear up confusion surrounding COVID-19.
How we built it
We built our Discord bot using Python for our back-end, and HTML and CSS for our front-end. We ran into a couple challenges that we will dive further into in the next section. Ultimately, we ended up overcoming most of them fairly quickly. Repl.it was our go-to way to collaborate on the bot's python code, while VSC was what we used to code the website.
Challenges we ran into
We definitely ran into the challenge of coding a Discord bot for the first time. Additionally, we had to run the bot from Repl.it and faced some issues when it came to actually running the bot. We were able to fix it through some pip installations and successfully filmed the demo video.
Accomplishments that we're proud of
As the Discord world is a universe inhabited by millions, we wanted to leverage this platform to easily disseminate COVID-19 related information. We achieved this by creating a bot that could provide all available COVID-19 information including stats, vaccines, and a mortality risk calculator easily and quickly. We are proud of conceiving the idea and implementing it by not only programming the bot but also coming up with a user friendly, visually appealing website that provides a one-stop-shop destination for the latest data.
We've programmed the bot to perform the following commands:
- !help -- Shows list of all available commands to help people use the bot
- !who -- Shows World Health Organization's COVID-19 Dashboard to keep people up to date.
- !cdc -- Shows various links to CDC resources, with just another way to keep people posted.
- !cases-- Shows current up-to-date counts of COVID-19 cases, deaths, and recoveries
- !stats -- Shows the global COVID-19 statistics and current news related to Covid.
- !USAstats -- Shows the COVID-19 statistics in the USA.
- !risk-- Shows COVID-19 mortality risk depending on input biometrics (age, location, race, gender, height, and weight) (Example: !risk 75 07728 y male 5 3 200)
- !help(category) -- Shows more info on a category. (Example: !help risk)
What we learned
We had never built a Discord bot before this, so it was definitely an experience full of tons of google searching. Some of us had very minimal experience with the Python language as well, which made it even more of a challenge. But overall it was an incredibly fun and enriching experience! We got to learn more about python, the console, and repl.it along the way.
Next Steps
- Work on expanding and adding other COVID-19 related information to the bot.
- Currently, we have a !USAstats command, but it would be neat to add in some other country-specific commands!
- Get on 500 servers by the end of the year.
- Become an officially verified discord bot!
Log in or sign up for Devpost to join the conversation.