This repository contains the code for the CodeSupport statistics ingest bot. The project is written in Python using the Discord.py module for interaction with the Discord API.
It is ran every night by a GitHub action.
- Navigate into the repository on your computer and run
python3 -m pip install -r requirements.txt - Create a Google APIs service account and include it in the folder as
service-account.json- The
generate_service_account.pyscript is purely used for CI
- The
- Start the Discord bot with
python3 main.py- You will need to supply the
DISCORD_TOKENenvironment variable - You will need to supply the
SHEET_IDenvironment variable
- You will need to supply the