Skip to content

Ferdinand737/UBC-Course-Bot

Repository files navigation

UBC-Course-Bot

Add this bot to your discord server

How to run this code yourself

  1. Install Python here.
  2. Install packages, you might need to install pip here
    pip install selenium
    pip install pandas
    pip install discord
    pip install python-dotenv
    pip install networkx
    pip install matplotlib
    
  3. Download the correct version of chromedriver for your system here.
    • Chromedriver must be the same version as chrome on your device
    • Linux chromedriver for chrome is included in this repository but may be out of date
  4. Follow this guide to make a discord application and create your .env file.
  5. Run Scrape.py to update the courses.csv file with current courses.
    • This can take around 20 minutes to scrape all the data
  6. Run CourseBot.py to run the bot.

Results

sc_2 sc_1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published