Update 'node/boto.js'

This commit is contained in:
Sarimoko 2022-02-10 02:08:32 +00:00
parent a2a4f63fc7
commit 55c771d0bb
1 changed files with 26 additions and 8 deletions

View File

@ -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!`);
//}