Inspiration
This bot was created during the COVID-19 pandemic. The pandemic where infected millions and killed thousands. And this project was inspired during this epidemic, with a mission to spread accurate information during the COVID-19 pandemic.
What it does
This is a discord bot, where people can ask the question to the bot, and the bot will provide a response. Here are the features available, or you can also just type help to the bot.
- Just Chattin' - You can ask some basic questions about COVID-19, such as what is COVID-19.
- Country Data - You can search for data in-country. You must include the country name and one of the following keywords: NewConfirmed, TotalConfirmed, NewDeaths, TotalDeaths, NewRecovered, or TotalRecovered.
- tips Type tips you can see Public Announcement image made by Google/WHO about how to avoid getting COVID-19.
- Where is the grocery near me? - To search for the groceries near an address, you can type grocery-. (Your address will only be used for search grocery.)
- When is the best time to visit the grocery? - To check the best time to visit a grocery, you can type grocery--.
- Detect whether you have COVID-19? - We also offered a few links to self-detect whether you have COVID-19 or not. Type detect to get the links.
How we built it
We built it using Python as our language and Google maps API and popular times API to get the best time to visit a grocery store.
Challenges we ran into
We ran into some challenges such as the use of popular times API, it keeps saying API keys are not correct, but we just changed our API key and it works now.
Accomplishments that we're proud of
The accomplishments that we're proud of are:
- Actually create the chatbot! So after we run the test, the accuracy is about 58%. Not that good, but it's pretty consider it's our first time to create a chatbot.
- Discord bot! Usage of discord.py is also our accomplishments. We actually turn it into a discord bot.
- Popular times! This is our favorite accomplishment! Where you can type your address or your city name, then it will give you a list of the grocery store that is near you after we use an API to change your address to longitude and latitude, then you can find the best hour to visit the shop!

What we learned
We learned how to create a chatbot, how to turn this bot into discord bot and deploy it, how to write tests, how to incorporate multiple APIs, and just teamwork and finish the project on time!
What's next for CovAid Bot
We actually have multiple ideas on how should CovAid Bot's future be. It will definitely remain public, you can find the link below to add this bot. We would like to turn this into a web app, where people can access anywhere, not just on discord. And probably show some fancy graphs. And personally, I want to turn it into other bots, like a slack bot or Reddit bot, or more to serve more communities!
Thanks for reading! :)
Built With
- api
- discord
- google-maps
- popular-times
- python
Log in or sign up for Devpost to join the conversation.