Update 'node/boto.js'

This commit is contained in:
Sarimoko 2022-02-11 07:38:32 +00:00
parent d9020a3e12
commit 62ee8b6da6
1 changed files with 81 additions and 18 deletions

View File

@ -29,6 +29,13 @@ client.on('message', (channel, tags, message, self) => {
// let isMod = user.mod || user['user-type'] === 'mod';
// let isBroadcaster = channel.slice(1) === user.username;
// let isModUp = isMod || isBroadcaster;
client.on('message', (channel, tags, message, self) => {
if(self) return;
const badges = tags.badges || {};
const isBroadcaster = badges.broadcaster;
const isMod = badges.moderator;
const isModUp = isBroadcaster || isMod;
});
// START of REACTIVE
// ==================================
@ -124,17 +131,21 @@ client.on('message', (channel, tags, message, self) => {
// ==================================
// The Cord
// ----------------------------------
if(command === 'cord' || command === 'discord') {
if(command === 'cord' ||
command === 'discord') {
client.say(channel, `/me The Cord by Sarimoko is joinable & sharable at: https://cord.sarimoko.com/`);
}
// The Template
// ----------------------------------
else if(command === 'template' || command === 'example') {
else if(command === 'template' ||
command === 'example') {
client.say(channel, `/me @${tags.username} says ${args.join(' ')} BLEEP! BLOOP!`);
}
// The Boto
// ----------------------------------
else if(command === 'boto' || command === 'sariboto' || command === 'sari-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`);
}
@ -156,44 +167,73 @@ client.on('message', (channel, tags, message, self) => {
}
// The Hair
// ----------------------------------
else if(command === 'hair' || command === 'hairflip' || command === 'bang' || command === 'headbang') {
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') {
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') {
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') {
else if(command === 'lurk' ||
command === 'lurking' ||
command === 'lurkin' ||
command === 'brb') {
client.say(channel, `/me Enjoy your lurk ${tags.username}, thanks for the viewership! GL out there ${args.join(' ')}`);
client.say(channel, `!kappagen sarimoLURKbrb sarimoKO sarimoLURKbrb sarimoKO sarimoLURKbrb sarimoKO `);
}
// The Mote
// ----------------------------------
else if(command === 'mote' || command === 'emote' || command === 'emotes') {
else if(command === 'mote' ||
command === 'emote' ||
command === 'emotes') {
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') {
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 Time
// ----------------------------------
else if(command === 'time' || command === 'pst' || command === 'pac') {
else if(command === 'time' ||
command === 'pst' ||
command === 'pac') {
client.say(channel, `BLEEP! BLOOP! PST | 2-Pac Standard Time`);
}
// The trip
// ----------------------------------
else if(command === 'trip' ||
command === 'trippin' ||
command === 'tripping') {
client.say(channel, `BLEEP! BLOOP! I'm trippin dragon ballz! Did @trip_228 spike my bios?!`);
client.say(channel, `!kappagen sarimoTRIP sarimoTRIP sarimoTRIP`);
client.say(channel, `Stay calm... Just remember your name & ip address... @Sarimoko 127.0.0.1... @Sarimoko 127.0.0.1...`);
}
// The Wish
// ----------------------------------
else if(command === 'wish' || command === 'wishlist' || command === 'amazon' || command === 'gift') {
else if(command === 'wish' ||
command === 'wishlist' ||
command === 'amazon' ||
command === 'gift') {
client.say(channel, `/me First off, thank you ${tags.username} for even considering contributing directly! Amazon Wishlists have been split into sub-categories and are available at: https://wish.sarimoko.com/ `);
}
@ -201,29 +241,48 @@ client.on('message', (channel, tags, message, self) => {
// ==================================
// FX | Bad Game
// ----------------------------------
else if(command === 'badgame' || command === 'antigg' || command === 'notgg') {
else if(command === 'badgame' ||
command === 'antigg' ||
command === 'notgg') {
client.say(channel, `!kappagen sarimoDEAD sarimoGAME `);
}
// FX | Hi
// ----------------------------------
else if(command === 'hi' || command === 'hello' || command === 'welcome' || command === 'greeting' || command === 'greetings') {
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 | Clap
// ----------------------------------
else if(command === 'clap' || command === 'claps' || command === 'applaude') {
else if(command === 'clap' ||
command === 'claps' ||
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') {
else if(command === 'sup' ||
command === 'whatsup' ||
command === 'sups' ||
command === 'wazzup' ||
command === 'soup' ||
command === 'soups') {
client.say(channel, `!kappagen sarimoTRIP sarimoSOUP sarimoTRIP sarimoSOUP sarimoTRIP sarimoSOUP `);
client.say(channel, `/me Yo @${tags.username}, how goes it?`);
}
// FX | Salt
// ----------------------------------
else if(command === 'salt' || command === 'yoho' || command === 'rage' || command === 'rip' || command === 'sassy' || command === 'salty' || command === 'bitter') {
else if(command === 'salt' ||
command === 'yoho' ||
command === 'rage' ||
command === 'rip' ||
command === 'sassy' ||
command === 'salty' ||
command === 'bitter') {
client.say(channel, `!kappagen PJSalt PanicVis PJSalt WutFace PJSalt PunOko PJSalt BabyRage PJSalt`);
}
@ -274,7 +333,10 @@ client.on('message', (channel, tags, message, self) => {
//}
// Raiding Someone
// ----------------------------------
else if(command === 'raid' || command === 'raidcall' || command === 'spam' || command === 'spamwars') {
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: (Yes, even if you don't have a sub... We know your a sub at PrideHeartL PrideHeartR LuvHearts`);
@ -282,7 +344,8 @@ client.on('message', (channel, tags, message, self) => {
}
// Shoutout
// ----------------------------------
else if(command === 'so' || command === 'shoutout') {
else if(command === 'so' ||
command === 'shoutout') {
client.say(channel, `BLEEP! BLOOP! On behave of The Sarimoko Show, I'd like the thank my producers, my agents, & @${args.join(' ')} for making all of this possible! https://twitch.tv/${args.join(' ')}`);
}