This is a Discord bot that periodically retrieves data from the UIUC On-Campus COVID-19 Testing Data Dashboard. The user can see this data through summaries and graphs through various commands. An explanation of the data retrieved can be found on this webpage.
Contact me if you want this bot in your server! My email is maxtk2@illinois.edu.
- -ping: Prints the ping of the bot.
- -data: Prints an embed containing a summary of COVID data.
- -graph: Displays a graph of case positivity % over time.
- Python 3.8.5
- discord.py 1.6.0
- playwright 0.171.1
- pandas 1.2.0
- matplotlib 3.3.4
- Chromium by
python -m playwright install
- Create a Discord bot and invite it to your server.
- Clone this repo and go to its directory.
git clone https://github.com/maxtk2/UIUC-COVID-Discord-Bot.git cd UIUC-COVID-Discord-Bot/
- Copy the file
config_example.py
asconfig.py
.cp config_example.py config.py
- In
config.py
, assign thetoken
variable to be your bot's token. - Run
main.py
.python3 main.py