Update 'node/boto.js'

This commit is contained in:
Sarimoko 2022-02-12 07:21:15 +00:00
parent 2167bbcdf1
commit 5e452ee6c6
1 changed files with 27 additions and 5 deletions

View File

@ -35,26 +35,32 @@ client.on('message', (channel, tags, message, self) => {
const args = message.slice(1).split(' '); const args = message.slice(1).split(' ');
const command = args.shift().toLowerCase(); // !COMMAND => command const command = args.shift().toLowerCase(); // !COMMAND => command
// CHAT COMMANDS | END
// DATA / INFO // DATA / INFO
if(command === 'cord' || if(command === 'cord' ||
command === 'discord') { command === 'discord') {
client.say(channel, `/me The Cord by Sarimoko is joinable & sharable at: https://cord.sarimoko.com/`); 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' || if(command === 'hype' ||
command === 'train' || command === 'train' ||
command === 'hypetrain') { command === 'hypetrain') {
client.say(channel, `!kappagen sarimoHYPE sarimoBITS sarimoHYPE sarimoBITS`); client.say(channel, `!kappagen sarimoHYPE sarimoBITS sarimoHYPE sarimoBITS`);
} }
}
if(isModUp) { } // SUB | END
// ESSENTIAL
if(isModUp) { // MOD Start
// Shoutout
if(command === 'so' || if(command === 'so' ||
command === 'shoutout') { command === 'shoutout') {
client.say(channel, `/me Bleep! Bloop! Roll the clip! Smash @${args.join(' ')}'s follow button at: https://twitch.tv/${args.join(' ')}`); client.say(channel, `/me Bleep! Bloop! Roll the clip! Smash @${args.join(' ')}'s follow button at: https://twitch.tv/${args.join(' ')}`);
} }
// CHAT MODE: Emotes // CHAT MODE: Emotes
if(command === 'emoteonly') { if(command === 'emoteonly') {
client.say(channel, `/me Bleep! Bloop! ${tags.username} just activated EMOTE ONLY chat! Show Sir SPAM'a'LOT who's boss!`); 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, `/me Bleep! Bloop! ${tags.username} turned off EMOTE ONLY chat! Chatter freely!`);
client.say(channel, `/emoteonlyoff `); client.say(channel, `/emoteonlyoff `);
} }
// CHAT MODE: Subs // CHAT MODE: Subs
if(command === 'subsonly') { if(command === 'subsonly') {
client.say(channel, `/me Bleep! Bloop! ${tags.username} just activated SUBS ONLY chat! Loyal supports FTW!`); 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, `/me Bleep! Bloop! ${tags.username} turned off Subs ONLY chat! Welcome back you filthy followers!`);
client.say(channel, `/subscribersoff `); client.say(channel, `/subscribersoff `);
} }
// CHAT MODE: Normal // CHAT MODE: Normal
if(command === 'norm' || if(command === 'norm' ||
command === 'normal') { 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, `/emoteonlyoff `);
client.say(channel, `/followersoff `); client.say(channel, `/followersoff `);
client.say(channel, `/slowoff `); client.say(channel, `/slowoff `);
client.say(channel, `/subscribersoff `); 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 }); // SCAN MSG | END
// TTV Re-Active // TTV Re-Active