From bae8c35f602ca045fe5af2410ddc1d9ab940b8fa Mon Sep 17 00:00:00 2001 From: Sarimoko Date: Fri, 11 Feb 2022 06:33:59 +0000 Subject: [PATCH] Update 'node/boto.js' --- node/boto.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/node/boto.js b/node/boto.js index b3c11d3..a860553 100644 --- a/node/boto.js +++ b/node/boto.js @@ -26,9 +26,9 @@ client.on('message', (channel, tags, message, self) => { const isModUp = isBroadcaster || isMod; }); -let isMod = user.mod || user['user-type'] === 'mod'; -let isBroadcaster = channel.slice(1) === user.username; -let isModUp = isMod || isBroadcaster; +// let isMod = user.mod || user['user-type'] === 'mod'; +// let isBroadcaster = channel.slice(1) === user.username; +// let isModUp = isMod || isBroadcaster; // START of REACTIVE // ================================== @@ -120,11 +120,11 @@ client.on('message', (channel, tags, message, self) => { //let isMod = user.mod || user['user-type'] === 'mod'; //let isBroadcaster = channel.slice(1) === user.username; //let isModUp = isMod || isBroadcaster; - if(isModUp) { - if(command === 'mod') { - client.say(channel, `Mod test command`); - } - } + //if(isModUp) { + // if(command === 'mod') { + // client.say(channel, `Mod test command`); + // } + //} // I N F O // ==================================