Update 'node/boto.js'

This commit is contained in:
Sarimoko 2022-02-11 08:04:46 +00:00
parent 09a5756d1e
commit bc3c56d823
1 changed files with 4 additions and 4 deletions

View File

@ -40,7 +40,9 @@ client.on('message', (channel, tags, message, self) => {
const isMod = badges.moderator; const isMod = badges.moderator;
const isModUp = isBroadcaster || isMod; const isModUp = isBroadcaster || isMod;
}); });
if(isModUp) {
//
}
// !COMMAND START // !COMMAND START
// ================================== // ==================================
client.on('message', (channel, tags, message, self) => { client.on('message', (channel, tags, message, self) => {
@ -54,9 +56,7 @@ client.on('message', (channel, tags, message, self) => {
const botUserState = client.userstate[channel]; const botUserState = client.userstate[channel];
const amMod = botUserState !== undefined && botUserState.mod === true; const amMod = botUserState !== undefined && botUserState.mod === true;
if(isModUp) {
//
}
// M O D S Q U A D // M O D S Q U A D
// ---------------------------------- // ----------------------------------
//let isMod = user.mod || user['user-type'] === 'mod'; //let isMod = user.mod || user['user-type'] === 'mod';