Skip to content

maxtk2/UIUC-COVID-Discord-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UIUC COVID Discord Bot

Authors: Max Knutson & Thailer Lietz

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.

Commands

  • -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.

Examples

data graph

Getting Started

Requirements

  • 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

Setting Up

  1. Create a Discord bot and invite it to your server.
  2. Clone this repo and go to its directory.
    git clone https://github.com/maxtk2/UIUC-COVID-Discord-Bot.git
    cd UIUC-COVID-Discord-Bot/
    
  3. Copy the file config_example.py as config.py.
    cp config_example.py config.py
    
  4. In config.py, assign the token variable to be your bot's token.
  5. Run main.py.
    python3 main.py
    

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages