Update 'node/alerts.js'
This commit is contained in:
parent
ae6be669e8
commit
bd04b3211d
|
@ -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) => {
|
client.on("anongiftpaidupgrade", (channel, username, userstate) => {
|
||||||
console.log('HYPE | @'.green+ username.yellow, 'just upgraded their Anon-Gift-Sub => PAID! Userstate?', userstate.yellow);
|
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!`);
|
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!`);
|
||||||
|
|
Loading…
Reference in New Issue