A Discord Webhook used to display the current status of the Waterloo Computer Science Club office.
The source of info for the office status is: https://csclub.uwaterloo.ca/~n3parikh/office-status.json
Prerequisites: python 3.10
git clone https://github.com/hydrobeam/csc_webhook
cd csc_webhook
python3 -m venv /path/to/venvActivate the virtual environment, then:
python3 -m pip install -r requirements.txtFirst, modify the default config.ini file with the desired webhook URL.
Then, to run the script:
python3 csc_webhook.py