Update 'node/boto.js'

This commit is contained in:
Sarimoko 2022-02-10 06:06:28 +00:00
parent 84125cbeda
commit ecbb02044d
1 changed files with 123 additions and 22 deletions

View File

@ -42,6 +42,7 @@ client.on("cheer", (channel, userstate, message) => {
client.on("clearchat", (channel) => {
// Do your stuff.
client.say(channel, `The Laws`);
client.say(channel, `The Rule of Law`);
client.say(channel, `1. Don't feed the Trolls!`);
});
client.on("giftpaidupgrade", (channel, username, sender, userstate) => {
@ -51,17 +52,17 @@ client.on("hosting", (channel, target, viewers) => {
// Do your stuff.
client.say(channel, `/me Host Test`);
});
// User joins/connects
client.on("join", (channel, username, self) => {
// Do your stuff.
client.say(channel, `/me +1 Chatter`);
client.say(channel, `/me +1 Chatter! Viewer or Bot...? Time will tell!`);
});
// Bye Felicia!
client.on("part", (channel, username, self) => {
// Do your stuff.
client.say(channel, `/me -1 Chatter`);
client.say(channel, `/me -1 Chatter! Where's my bounty hunters? Essemble the *air-qoutes* search-party *air-qoutes*`);
});
// Incoming Raid
client.on("raided", (channel, username, viewers) => {
// Do your stuff.
client.say(channel, `/me Welcome raiders!!! We make take your viewers, but we'll never take their FREEDOM!!!`);
client.say(channel, `/me Welcome raiders!!! We make take your viewership, but we'll never take your FREEDOM!!!`);
client.say(channel, `!kappagen sarimoRAID sarimoFREEDOM sarimoRAID sarimoFREEDOM sarimoRAID sarimoFREEDOM`);
});
client.on("subgift", (channel, username, streakMonths, recipient, methods, userstate) => {
@ -105,7 +106,6 @@ client.on('message', (channel, tags, message, self) => {
const args = message.slice(1).split(' ');
const command = args.shift().toLowerCase();
const botUserState = client.userstate[channel];
const amMod = botUserState !== undefined && botUserState.mod === true;
@ -127,6 +127,12 @@ client.on('message', (channel, tags, message, self) => {
}
// The Boto
// ----------------------------------
else if(command === 'boto' || command === 'sariboto' || command === 'sari-boto') {
client.say(channel, `/me Bleep! Bloop! sarimoBOTO Twitch IRC connected... LETS PARTY!!!`);
client.say(channel, `!kappagen imGlitch EarthDay imGlitch EarthDay imGlitch`);
}
// The Boto
// ----------------------------------
else if(command === 'boto' || command === 'sariboto' || command === 'sari-boto') {
client.say(channel, `/me Bleep! Bloop! Twitch IRC connected... LETS PARTY!!!`);
client.say(channel, `!kappagen imGlitch EarthDay imGlitch EarthDay imGlitch`);
@ -135,6 +141,12 @@ client.on('message', (channel, tags, message, self) => {
// ----------------------------------
else if(command === 'color') {
client.say(channel, `/color ${args.join(' ')}`);
client.say(channel, `/me Bleep! Bloop! New color is ${args.join(' ')}`);
}
// The Dojo
// ----------------------------------
else if(command === 'dojo') {
client.say(channel, `/me Learn the methods of a madman at: https://dojo.sarimoko.com/`);
}
// The Echo
// ----------------------------------
@ -146,6 +158,16 @@ client.on('message', (channel, tags, message, self) => {
else if(command === 'hair' || command === 'hairflip' || command === 'bang' || command === 'headbang') {
client.say(channel, `!kappagen sarimoBANG sarimoHAIR sarimoBANG sarimoHAIR sarimoBANG sarimoHAIR `);
}
// The Hugs
// ----------------------------------
else if(command === 'hug' || command === 'hugs') {
client.say(channel, `/me @${tags.username} just gave ${args.join(' ')} a big'o'hug! `);
}
// The Kick
// ----------------------------------
else if(command === 'kick' || command === 'attack' || command === 'punch') {
client.say(channel, `/me @${tags.username} just hit ${args.join(' ')}! I'm telling! `);
}
// The Lurk
// ----------------------------------
else if(command === 'lurk' || command === 'lurking' || command === 'lurkin' || command === 'brb') {
@ -158,6 +180,11 @@ client.on('message', (channel, tags, message, self) => {
client.say(channel, `!kappagen sarimoBOTO sarimoDEAD sarimoDUDE sarimoGAME sarimoMASK sarimoGEAR sarimoHAIR sarimoHYPE sarimoLURK sarimoMILK sarimoNERD sarimoRAID sarimoSALT sarimoSOUP sarimoRIDE sarimoKO `);
client.say(channel, `sarimoBANG sarimoFREEDOM sarimoLURKbrb sarimoSALTplz sarimoTRIP `);
}
// The Sale
// ----------------------------------
else if(command === 'sale' || command === 'buygames' || command === 'humble' || command === 'bundle' || command === 'humblebundle') {
client.say(channel, `Get sales & give to charity! Win + win, right?! Check out HumbleBundle, use this affiliated link to support the stream: https://www.humblebundle.com/?partner=rusttv`);
}
// The Wish
// ----------------------------------
else if(command === 'wish' || command === 'wishlist' || command === 'amazon' || command === 'gift') {
@ -185,19 +212,34 @@ client.on('message', (channel, tags, message, self) => {
else if(command === 'raid' || command === 'raidcall' || command === 'spam' || command === 'spamwars') {
client.say(channel, `!kappagen sarimoRAID sarimoFREEDOM sarimoRAID sarimoFREEDOM sarimoRAID sarimoFREEDOM`);
client.say(channel, `/me Thanks everyone for watching!!! PREPARE TO SPAM!`);
client.say(channel, `/me Copy'n'Paste the following:`);
client.say(channel, `/me Copy'n'Paste the following: (Yes, even if you don't have a sub... We know your a sub at PrideHeartL PrideHeartR LuvHearts`);
client.say(channel, `sarimoRAID sarimoFREEDOM You may take us viewers, but you'll NEVER take our FREEDOM!`);
}
// Shoutout
// ----------------------------------
else if(command === 'so' || command === 'shoutout' || command === 'holla' || command === 'pimp') {
client.say(channel, `Go checkout @${tags.username}'s channel! Hit that follow button like it owes you money!`);
}
// K A P P A
// ==================================
// FX | Bad Game
// ----------------------------------
else if(command === 'badgame' || command === 'anti-gg' || command === 'notgg') {
client.say(channel, `!kappagen sarimoDEAD sarimoGAME `);
}
// FX | Hi
// ----------------------------------
else if(command === 'hi' || command === 'hello' || command === 'welcome' || command === 'greeting' || command === 'greetings') {
client.say(channel, `!kappagen HeyGuys bleedPurple HeyGuys bleedPurple HeyGuys`);
client.say(channel, `/me Hi Hello Howdy Hola こんにちは Oi 你好 여보세요 Здравствуйте Bonjour Hej Hiya Heyo Yo`);
}
// FX | Hi
// FX | Clap
// ----------------------------------
else if(command === 'clap' || command === 'clap' || command === 'applaude') {
client.say(channel, `!kappagen :clap: FBCatch :clap: FBCatch :clap: `);
}
// FX | Sup
// ----------------------------------
else if(command === 'sup' || command === 'whatsup' || command === 'sups' || command === 'wazzup' || command === 'soup' || command === 'soups') {
client.say(channel, `!kappagen sarimoTRIP sarimoSOUP sarimoTRIP sarimoSOUP sarimoTRIP sarimoSOUP `);
@ -229,20 +271,79 @@ client.on('message', (channel, tags, message, self) => {
// Backend
// ----------------------------------
else if(command === 'ad' || command === 'ads' || command === 'dab30' || command === 'intermission') {
client.say(channel, `Bleep! Bloop! Sub to bypass ads! `);
client.commercial("channel", 30)
.then((data) => {
// data returns [channel, seconds]
}).catch((err) => {
//
});
//else if(command === 'ad' || command === 'ads' || command === 'dab30' || command === 'intermission') {
// client.say(channel, `Bleep! Bloop! Sub to bypass ads! `);
// client.commercial("channel", 30)
// .then((data) => {
// // data returns [channel, seconds]
// }).catch((err) => {
// //
// });
}
// S T R E A M E L E M E N T S
// ==================================
else if(command === 'accountage' ') {
// SE handles it so nothing here to prevent throwing an ERROR
}
else if(command === 'bet' ') {
// SE handles it so nothing here to prevent throwing an ERROR
}
else if(command === 'chatstats' ') {
// SE handles it so nothing here to prevent throwing an ERROR
}
else if(command === 'commands' ') {
// SE handles it so nothing here to prevent throwing an ERROR
}
// Sub only
else if(command === 'editcounter' ') {
// SE handles it so nothing here to prevent throwing an ERROR
}
else if(command === 'enter' ') {
// SE handles it so nothing here to prevent throwing an ERROR
}
else if(command === 'followage' ') {
// SE handles it so nothing here to prevent throwing an ERROR
}
else if(command === 'kappagen' ') {
// SE handles it so nothing here to prevent throwing an ERROR
}
else if(command === 'leaderboard' ') {
// SE handles it so nothing here to prevent throwing an ERROR
}
// Sub only
else if(command === 'permit' ') {
// SE handles it so nothing here to prevent throwing an ERROR
}
else if(command === 'points' ') {
// SE handles it so nothing here to prevent throwing an ERROR
}
else if(command === 'quote' ') {
// SE handles it so nothing here to prevent throwing an ERROR
}
else if(command === 'rename' ') {
// SE handles it so nothing here to prevent throwing an ERROR
}
// MOD only
else if(command === 'setgame' ') {
// SE handles it so nothing here to prevent throwing an ERROR
}
// MOD only
else if(command === 'setpoints' ') {
// SE handles it so nothing here to prevent throwing an ERROR
}
// MOD only
else if(command === 'settitle' ') {
// SE handles it so nothing here to prevent throwing an ERROR
}
else if(command === 'top' ') {
// SE handles it so nothing here to prevent throwing an ERROR
}
else if(command === 'uptime' ') {
// SE handles it so nothing here to prevent throwing an ERROR
}
else if(command === 'watchtime' ') {
// SE handles it so nothing here to prevent throwing an ERROR
}
// E R R O R S
// ==================================
// NOT FOUND FUNCTION