Update 'node/boto.js'
This commit is contained in:
parent
a2a4f63fc7
commit
55c771d0bb
34
node/boto.js
34
node/boto.js
|
@ -44,19 +44,37 @@ client.on('message', (channel, tags, message, self) => {
|
|||
const botUserState = client.userstate[channel];
|
||||
const amMod = botUserState !== undefined && botUserState.mod === true;
|
||||
|
||||
// B E T A
|
||||
// M O D S Q U A D
|
||||
// ----------------------------------
|
||||
let isMod = user.mod || user['user-type'] === 'mod';
|
||||
let isBroadcaster = channel.slice(1) === user.username;
|
||||
let isModUp = isMod || isBroadcaster;
|
||||
if(isModUp) {
|
||||
// Something for moderators or higher
|
||||
}
|
||||
|
||||
// I N F O
|
||||
// ==================================
|
||||
// The Cord
|
||||
// ----------------------------------
|
||||
if(command === 'cord' || command === 'discord') {
|
||||
client.say(channel, `/w The Cord by Sarimoko is joinable & sharable at: https://cord.sarimoko.com/`);
|
||||
}
|
||||
// The Boto
|
||||
// ----------------------------------
|
||||
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`);
|
||||
}
|
||||
// The Color
|
||||
// ----------------------------------
|
||||
else if(command === 'color') {
|
||||
client.say(channel, `/color ${args.join(' ')}`);
|
||||
}
|
||||
// The Echo
|
||||
// ----------------------------------
|
||||
else if(command === 'echo') {
|
||||
client.say(channel, `/me Off in the distance @${tags.username} screams...`);
|
||||
client.say(channel, `" ${args.join(' ')} ${args.join(' ')} ${args.join(' ')} ${args.join(' ')} ${args.join(' ')} " can be heard to all those around!`);
|
||||
client.say(channel, `/me @${tags.username} says ${args.join(' ')}`);
|
||||
}
|
||||
|
||||
// T H E S H O W
|
||||
|
@ -110,10 +128,10 @@ client.on('message', (channel, tags, message, self) => {
|
|||
|
||||
// The 2Pac Timezone
|
||||
// ----------------------------------
|
||||
else if(command === '2pac' || command === 'pst' || command === 'timezone') {
|
||||
client.say(channel, `/me Off in the distance @${tags.username} screams...`);
|
||||
client.say(channel, `" ${args.join(' ')} ${args.join(' ')} ${args.join(' ')} ${args.join(' ')} ${args.join(' ')} " can be heard to all those around!`);
|
||||
}
|
||||
//else if(command === '2pac' || command === 'pst' || command === 'timezone') {
|
||||
// client.say(channel, `/me Off in the distance @${tags.username} screams...`);
|
||||
// client.say(channel, `" ${args.join(' ')} ${args.join(' ')} ${args.join(' ')} ${args.join(' ')} ${args.join(' ')} " can be heard to all those around!`);
|
||||
//}
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue