Update 'node/boto.js'

This commit is contained in:
Sarimoko 2022-02-11 07:47:26 +00:00
parent 47476ac504
commit 36f0c9b1f5
1 changed files with 10 additions and 10 deletions

View File

@ -110,17 +110,17 @@ client.on('message', (channel, tags, message, self) => {
//let isMod = user.mod || user['user-type'] === 'mod'; //let isMod = user.mod || user['user-type'] === 'mod';
//let isBroadcaster = channel.slice(1) === user.username; //let isBroadcaster = channel.slice(1) === user.username;
//let isModUp = isMod || isBroadcaster; //let isModUp = isMod || isBroadcaster;
if(isModUp) { //if(isModUp) {
if(command === 'mod') { // if(command === 'mod') {
client.say(channel, `Mod test command`); // client.say(channel, `Mod test command`);
} // }
if else(command === 'mods') { // if else(command === 'mods') {
client.say(channel, `Mod test command`); // client.say(channel, `Mod test command`);
} // }
else { // else {
// NULL // NULL
} // }
} //}
// I N F O // I N F O
// ================================== // ==================================