This repository is archived because I added the feature in https://github.com/Wissididom/Twitch-Discord-Clips-Webhook and with that I don't want to maintain 2 things that essentially do the same thing.
To do that in the other repository just set the cron option in the config to null and it'll poll every 5 minutes and should make sure there are no duplicate postings, even though I haven't really thoroughly tested the de-duplication.
- NodeJS
- Discord Webhook URL
- Twitch Client ID
- Twitch Client Secret
Clone this repository
git clone https://github.com/Wissididom/Twitch-Discord-Clips-Webhook-Service
Copy example.env into .env and adjust it's values. Optionally you can also provide the options inside example.env with the correct values as environment variables to the application.
Install dependencies
npm i or npm install
Run it with node index.js. The script checks every second if there were clips made in the last second.