Skip to content
This repository has been archived by the owner on Apr 2, 2022. It is now read-only.

codesupport/statistics-ingest

Repository files navigation

Statistics Ingest

About

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.

Dependencies

Production

Setup

  1. Navigate into the repository on your computer and run python3 -m pip install -r requirements.txt
  2. Create a Google APIs service account and include it in the folder as service-account.json
    • The generate_service_account.py script is purely used for CI
  3. Start the Discord bot with python3 main.py
    • You will need to supply the DISCORD_TOKEN environment variable
    • You will need to supply the SHEET_ID environment variable

About

Ingests statistics nightly to Google Sheets

Resources

Stars

Watchers

Forks

Languages