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.
- have node.js and pnpm installed
- clone the repo
pnpm install- create a
config.jsonbased onconfig.example.json:apiKey: your google sheets api keysheetId: the id of the spreadsheet you want to tracksheetName: the name of the sheet you want to trackpingWebhookUrl: the url of the discord webhook you want to send badge notifications throughlogWebhookUrl: the url of the discord webhook you want to send logs throughdiscordPings: a string array of discord user ids to ping when a notification is sent
pnpm start/node index.js