Update 'node/boto.js'

This commit is contained in:
Sarimoko 2022-02-13 15:35:56 +00:00
parent d3786f1365
commit 48fc540e94
1 changed files with 12 additions and 10 deletions

View File

@ -442,17 +442,18 @@ client.on("giftpaidupgrade", (channel, username, sender, userstate) => {
console.log('LOG: Gift-Sub UPGRADED to a real full blown sub! '); console.log('LOG: Gift-Sub UPGRADED to a real full blown sub! ');
}); });
client.on("hosted", (channel, username, viewers, autohost) => { client.on("hosted", (channel, username, viewers, autohost) => {
console.log('LOG: TYVM! For the host!'); console.log('LOG: TYVM! For the host!');
client.say(channel, `/me BLEEP! BLOOP! @Sarimoko is auto-hosting various streamers! For more info: https://cord.sarimoko.com`); client.say(channel, `/me BLEEP! BLOOP! @Sarimoko is auto-hosting various streamers! For more info: https://cord.sarimoko.com`);
}); });
client.on("hosting", (channel, target, viewers) => { client.on("hosting", (channel, target, viewers) => {
client.say(channel, `/me BLEEP! BLOOP! @Sarimoko is auto-hosting various streamers! For more info: https://cord.sarimoko.com`); console.log('HYPE | Logging into'.yellow, 'Twitch TV'.brightBlue);
client.say(channel, `/me BLEEP! BLOOP! @Sarimoko is auto-hosting various streamers! For more info: https://cord.sarimoko.com`);
}); });
client.on("join", (channel, username, self) => { client.on("join", (channel, username, self) => {
console.log('LOG |'.brightBlue, username.yellow, 'joined the chat!'.brightBlue); console.log('LOG |'.brightBlue, username.yellow, 'joined the chat!'.brightBlue);
}); });
client.on("logon", () => { client.on("logon", () => {
console.log('LOG: Logon '); console.log('LOG | Logging into'.yellow, 'Twitch TV'.brightBlue);
}); });
// client.on("message", (channel, userstate, message, self) => { // client.on("message", (channel, userstate, message, self) => {
// // Don't listen to my own messages.. // // Don't listen to my own messages..
@ -478,11 +479,9 @@ client.on("messagedeleted", (channel, username, deletedMessage, userstate) => {
console.log('LOG | Deleted MSG'.brightRed); console.log('LOG | Deleted MSG'.brightRed);
}); });
client.on("mod", (channel, username) => { client.on("mod", (channel, username) => {
// Modded.
console.log('LOG |'.brightRed, username.yellow, 'was added as a MOD'.brightRed); console.log('LOG |'.brightRed, username.yellow, 'was added as a MOD'.brightRed);
}); });
client.on("mods", (channel, mods) => { client.on("mods", (channel, mods) => {
// List
console.log('LOG: Mod?'.yellow, mods); console.log('LOG: Mod?'.yellow, mods);
}); });
client.on("notice", (channel, msgid, message) => { client.on("notice", (channel, msgid, message) => {
@ -498,8 +497,9 @@ client.on("part", (channel, username, self) => {
// console.log('r9kbeta? '); // console.log('r9kbeta? ');
// }); // });
client.on("raided", (channel, username, viewers) => { 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, `@`+ username, `is raiding with`, viewers, `viewers!`);
client.say(channel, `!kappagen sarimoRAID sarimoFREEDOM sarimoRAID sarimoFREEDOM sarimoRAID sarimoFREEDOM`); client.say(channel, `/me TYVM @`+ username, `we may take your viewership, but we'll never take their FREEDOM!!! sarimoFREEDOM`);
client.say(channel, `!kappagen sarimoRAID sarimoFREEDOM sarimoKO`);
}); });
// client.on("raw_message", (messageCloned, message) => { // client.on("raw_message", (messageCloned, message) => {
// console.log(message.raw); // console.log(message.raw);
@ -540,7 +540,9 @@ client.on("subscription", function (channel, username, method, message, userstat
client.say(channel, `!kappagen sarimoKO sarimoNERD`); client.say(channel, `!kappagen sarimoKO sarimoNERD`);
}); });
client.on("timeout", (channel, username, reason, duration, userstate) => { client.on("timeout", (channel, username, reason, duration, userstate) => {
client.say(channel, `I know this only frustrates you more, but please take this time to cooldown.`); console.log('HYPE |'.brightRed, username.yellow, userstate, 'was TIMEDOUT for'.brightRed, duration.yellow, 'seconds on the basis of:'.brightRed, reason.yellow)
client.say(channel, `/me The mods have spoken... @`+ username, `I hereby find you guilty of:`, reason +`. Judgement will be`, durations, `seconds of boredom & frustraction as you're locked out of chat. Take this time to reflect, not deflect. Hopefully we'll talk again soon!`);
client.say(channel, `!kappagen sarimoSALT sarimoRAGE`);
}); });
client.on("unhost", (channel, viewers) => { client.on("unhost", (channel, viewers) => {
client.say(channel, `/me @Sarimoko has turned if hosting, please standby for further instruction!`); client.say(channel, `/me @Sarimoko has turned if hosting, please standby for further instruction!`);