Update 'node/boto.js'

This commit is contained in:
Sarimoko 2022-02-10 01:38:27 +00:00
parent 2d397ffba6
commit 9dacf6e6db
1 changed files with 14 additions and 7 deletions

View File

@ -25,10 +25,16 @@ client.on('message', (channel, tags, message, self) => {
const isMod = badges.moderator;
const isModUp = isBroadcaster || isMod;
});
// TODO:
// + Add Cooldowns
// + Add Mod vs Streamer vs Viewer vs Sub control
// + Turn BOTO into join userchannel_db & make botoff to rm_userchannel_db
// + Timed
// + B-Day Calc
// +
// +
client.on('message', (channel, tags, message, self) => {
if(self || !message.startsWith('!')) return;
@ -37,12 +43,13 @@ client.on('message', (channel, tags, message, self) => {
const botUserState = client.userstate[channel];
const amMod = botUserState !== undefined && botUserState.mod === true;
// B E T A
// ==================================
// The Boto
// ----------------------------------
if(command === 'boto' || command === 'sariboto' || command === 'sari-boto') {
client.say(channel, `/me Bleep! Bloop! Successfully connected to Twitch!`);
client.say(channel, `/me Bleep! Bloop! Twitch IRC connected... LETS PARTY!!!`);
client.say(channel, `!kappagen imGlitch EarthDay imGlitch EarthDay imGlitch`);
}
// The Echo
@ -56,13 +63,13 @@ client.on('message', (channel, tags, message, self) => {
// ==================================
// Being Raided
// ----------------------------------
if(command === 'raid' || command === 'raided') {
else if(command === 'raid' || command === 'raided') {
client.say(channel, `!kappagen sarimoRAID sarimoFREEDOM sarimoRAID sarimoFREEDOM sarimoRAID sarimoFREEDOM`);
client.say(channel, `/me Did @${tags.username} say RAID!?! I believe ${args.join(' ')}, was mentioned as well!`);
}
// Raiding Someone
// ----------------------------------
if(command === 'raidcall' || command === 'spam' || command === 'spamwars') {
else if(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:`);
@ -73,20 +80,20 @@ client.on('message', (channel, tags, message, self) => {
// ==================================
// FX | Hi
// ----------------------------------
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 | Hi
// ----------------------------------
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
// ----------------------------------
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`);
}
@ -117,6 +124,6 @@ client.on('message', (channel, tags, message, self) => {
// ==================================
// NOT FOUND FUNCTION
else {
client.say(channel, `/me Bleep! Bloop! Command NOT found! Sorry, @${tags.username} but did you typo it?`);
client.say(channel, `/me Bleep! Bloop! Error! Sorry, @${tags.username} hopefully SE/SL/Nitebot has ya covered...);
}
});