From d9020a3e12ba98464c59e262594848e1c06ea657 Mon Sep 17 00:00:00 2001 From: Sarimoko Date: Fri, 11 Feb 2022 07:25:06 +0000 Subject: [PATCH] Update 'node/boto.js' --- node/boto.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/node/boto.js b/node/boto.js index 115277a..a57b774 100644 --- a/node/boto.js +++ b/node/boto.js @@ -114,11 +114,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 // ==================================