Update 'node/boto.js'
This commit is contained in:
parent
2167bbcdf1
commit
5e452ee6c6
32
node/boto.js
32
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
|
||||
|
|
Loading…
Reference in New Issue