Simple NodeJS Twitch Bot for Donation Alerts which will send a message to the chat if someone donates.
- Twitch Bot with username and token;
- You can get your token here: Twitch Chat OAuth Password Generator
- List of channels to connect to(or you can put only one) with username, api_key, phrases (optional) where:
- username is twitch channel name. (Ex. For https://www.twitch.tv/fyiden username will be fyiden)
- api_key is an API key (token) from Donations Alerts which you can find HERE(click):
- phrases is a list of phrases, one of which(random one) will be sent with a message to the chat.
- default_phrases is a list of phrases, one of which(random one) will be sended with a message to the chat in case where list of "custom" channel phrases is empty.
- You'll need to install all dependencies:
- In comand line (i'm using Windows 10) move to project folder
cd ..PATH_TO_FOLDER/DonationAlertsNotificationBot
- Run
npm install
- In comand line (i'm using Windows 10) move to project folder
- Run main.js by calling
node main.js