Hiviexd/loved-tracker

script for tracking Project Loved tenure badges

★ 0Forks 0JavaScriptGitHub ↗Compare

README

loved-tracker

a simple script that checks the Project Loved tracksheet and notifies for needed badge updates via a Discord webhook.

this script is intended to be run as a cronjob.

setup

  1. have node.js and pnpm installed
  2. clone the repo
  3. pnpm install
  4. create a config.json based on config.example.json:
    • apiKey: your google sheets api key
    • sheetId: the id of the spreadsheet you want to track
    • sheetName: the name of the sheet you want to track
    • pingWebhookUrl: the url of the discord webhook you want to send badge notifications through
    • logWebhookUrl: the url of the discord webhook you want to send logs through
    • discordPings: a string array of discord user ids to ping when a notification is sent
  5. pnpm start / node index.js

Contributors

Hiviexd

Issues