Throughout this pandemic, I've found myself continuously looking up "covid19 cases Canada" and I thought why not create a discord bot that would look it up for me instead. Furthermore, I feel like many people in Canada don't understand the severity of covid-19 so I hope that the visualizations used in my discord bot will help bring light to the severity of this pandemic.

What it does

This discord bot responds depending on the user input message. The user can decide which information they want to see, and by entering a keyword; the bot displays the correct information. For example if the user enters "!covid", the bot will display a list of commands. Then, if the user for instance enters "td", the bot will display the total number of deaths in Canada and when it was last updated. Note, after entering the bot displays the list of commands, the bot will timeout in 60 seconds if there is no additional entry of command.

How we built it

We built it using Python. Specifically, we used Python's Discord, datetime, calendar to build the discord bot. We used Python's google api library to create a program that reads from a google sheet and our discord bot displays the data or graphs relating to the data.

Challenges we ran into

The most difficult part of this project was finding a dataset that would work well with and would be easily converted into a google sheet.

Accomplishments that we're proud of

This was a project that we are proud of making, as it encouraged us to learn things we did not know before, such as how to read from google slides. In addition, every program was done from scratch and we did not have any template to follow, which makes it even more special for us.

What we learned

Firstly, although this is not our first time making a discord bot, this project allowed us to explore and implement more concepts. In addition, we learned how to use google api with Python as we read and displayed information directly from google sheets.

What's next for Covid19 Discord Bot

In the future, we'd like to be able to find a way to automatically update the google sheets when new data is added from the database used. Furthermore, we'd like to add more covid19 statistics from different countries other than Canada.

Built With

Share this project: