Update 'node/boto.js'
This commit is contained in:
parent
c51f30c39d
commit
e97439ce47
28
node/boto.js
28
node/boto.js
|
@ -350,11 +350,11 @@ client.on('message', (channel, tags, message, self) => {
|
|||
// 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 ');
|
||||
});
|
||||
// client.on("action", (channel, userstate, message, self) => {
|
||||
// // Don't listen to my own messages..
|
||||
// if (self) return;
|
||||
// console.log('LOG: Action ');
|
||||
// });
|
||||
client.on("anongiftpaidupgrade", (channel, username, userstate) => {
|
||||
client.whisper(username, `BLEEP! BLOOP! Anon-Sub upgraded!!!`);
|
||||
});
|
||||
|
@ -362,12 +362,12 @@ client.on("ban", (channel, username, reason, userstate) => {
|
|||
client.say(channel, `/me BYE FELICIA!!! Critical hit from the MODs Ban-Hammer attack!`);
|
||||
client.say(channel, `!kappagen BOP BOP BOP `);
|
||||
});
|
||||
client.on("chat", (channel, userstate, message, self) => {
|
||||
// Don't listen to my own messages..
|
||||
if (self) return;
|
||||
// Do your stuff.
|
||||
console.log('LOG: Chat');
|
||||
});
|
||||
// client.on("chat", (channel, userstate, message, self) => {
|
||||
// // Don't listen to my own messages..
|
||||
// if (self) return;
|
||||
// // Do your stuff.
|
||||
// console.log('LOG: Chat');
|
||||
// });
|
||||
client.on("cheer", (channel, userstate, message) => {
|
||||
client.say(channel, `/me BLEEP! BLOOP! O'SNAP! Bit hype!!! sarimoBANG`);
|
||||
client.say(channel, `!kappagen sarimoHYPE sarimoBITS`);
|
||||
|
@ -462,9 +462,9 @@ client.on("raided", (channel, username, viewers) => {
|
|||
client.say(channel, `/me Welcome raiders!!! We may take your viewership, but we'll never take your FREEDOM!!!`);
|
||||
client.say(channel, `!kappagen sarimoRAID sarimoFREEDOM sarimoRAID sarimoFREEDOM sarimoRAID sarimoFREEDOM`);
|
||||
});
|
||||
client.on("raw_message", (messageCloned, message) => {
|
||||
console.log(message.raw);
|
||||
});
|
||||
// client.on("raw_message", (messageCloned, message) => {
|
||||
// console.log(message.raw);
|
||||
// });
|
||||
client.on("reconnect", () => {
|
||||
// Do your stuff.
|
||||
console.log('Re-Connecting ');
|
||||
|
|
Loading…
Reference in New Issue