From 5e452ee6c6ea8db1fc36c473a2af6b3e298abdc5 Mon Sep 17 00:00:00 2001 From: Sarimoko Date: Sat, 12 Feb 2022 07:21:15 +0000 Subject: [PATCH] Update 'node/boto.js' --- node/boto.js | 32 +++++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/node/boto.js b/node/boto.js index a8a2fd1..8f01477 100644 --- a/node/boto.js +++ b/node/boto.js @@ -35,26 +35,32 @@ client.on('message', (channel, tags, message, self) => { const args = message.slice(1).split(' '); const command = args.shift().toLowerCase(); // !COMMAND => command + // CHAT COMMANDS | END // DATA / INFO if(command === 'cord' || command === 'discord') { client.say(channel, `/me The Cord by Sarimoko is joinable & sharable at: https://cord.sarimoko.com/`); } + // CHAT COMMANDS | END + if(isSub) { // SUB | Start - if(isSub) { + // HYPE if(command === 'hype' || command === 'train' || command === 'hypetrain') { client.say(channel, `!kappagen sarimoHYPE sarimoBITS sarimoHYPE sarimoBITS`); } - } - if(isModUp) { - // ESSENTIAL + } // SUB | END + + if(isModUp) { // MOD Start + + // Shoutout if(command === 'so' || command === 'shoutout') { client.say(channel, `/me Bleep! Bloop! Roll the clip! Smash @${args.join(' ')}'s follow button at: https://twitch.tv/${args.join(' ')}`); } + // CHAT MODE: Emotes if(command === 'emoteonly') { client.say(channel, `/me Bleep! Bloop! ${tags.username} just activated EMOTE ONLY chat! Show Sir SPAM'a'LOT who's boss!`); @@ -65,6 +71,7 @@ client.on('message', (channel, tags, message, self) => { client.say(channel, `/me Bleep! Bloop! ${tags.username} turned off EMOTE ONLY chat! Chatter freely!`); client.say(channel, `/emoteonlyoff `); } + // CHAT MODE: Subs if(command === 'subsonly') { client.say(channel, `/me Bleep! Bloop! ${tags.username} just activated SUBS ONLY chat! Loyal supports FTW!`); @@ -75,16 +82,31 @@ client.on('message', (channel, tags, message, self) => { client.say(channel, `/me Bleep! Bloop! ${tags.username} turned off Subs ONLY chat! Welcome back you filthy followers!`); client.say(channel, `/subscribersoff `); } + // CHAT MODE: Normal if(command === 'norm' || command === 'normal') { - client.say(channel, `/me Bleep! Bloop! ${tags.username} what did you do! Lets fix things...`); + client.say(channel, `/me Bleep! Bloop! ${tags.username} has normalized chat!`); client.say(channel, `/emoteonlyoff `); client.say(channel, `/followersoff `); client.say(channel, `/slowoff `); client.say(channel, `/subscribersoff `); } + 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) => { + // + }); } + + } // MOD | END + }); // SCAN MSG | END // TTV Re-Active