Update 'node/alerts.js'

This commit is contained in:
Sarimoko 2022-02-14 10:13:35 +00:00
parent ae6be669e8
commit bd04b3211d
1 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,15 @@
// TTV Re-Active
// ==================================
// TO-DO: Add Follower API
// https://api.twitch.tv/kraken/channels/MY_ID/follows?api_version=5&client_id=MY_CLIENT_ID&limit=1
// client.on("action", (channel, userstate, message, self) => {
// // Don't listen to my own messages..
// if (self) return;
// console.log('LOG: Action ');
// });
// import { ttv_alerts } from "./alerts.js";
// ttv_alerts();
client.on("anongiftpaidupgrade", (channel, username, userstate) => {
console.log('HYPE | @'.green+ username.yellow, 'just upgraded their Anon-Gift-Sub => PAID! Userstate?', userstate.yellow);
client.say(channel, `Legit, @`+ username, `just upgraded their Anon-Gift-Sub to a paid sub! Thanks for the support, I feel like a real boy!`);