diff --git a/node/alerts.js b/node/alerts.js index 3155e72..931df33 100644 --- a/node/alerts.js +++ b/node/alerts.js @@ -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!`);