- Requires chromium installed
sudo apt-get install chromium-browser
- Setup required packages
yarn install
- Create .env file in the root
WEBHOOK_URL=https://discord.com/api/webhooks/SECRET
NHS_NUMBER=723263xxxx
DOB=dd/mm/yyyy
INTERVAL=4
PERIOD=hours
-
Create some kind of webhook to post messages to and include in .env (Optional)
-
Adjust the period and interval in .env if necessary, default is 1 hours between checks (Optional)
-
Run
yarn start