From 7d0d523ff6d7a63d5fc812fc207ceda4687d7853 Mon Sep 17 00:00:00 2001 From: Sarimoko Date: Fri, 11 Feb 2022 07:39:35 +0000 Subject: [PATCH] Update 'node/boto.js' --- node/boto.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/node/boto.js b/node/boto.js index 0ee61d5..2f7b233 100644 --- a/node/boto.js +++ b/node/boto.js @@ -26,17 +26,6 @@ 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; -client.on('message', (channel, tags, message, self) => { - if(self) return; - const badges = tags.badges || {}; - const isBroadcaster = badges.broadcaster; - const isMod = badges.moderator; - const isModUp = isBroadcaster || isMod; -}); - // START of REACTIVE // ================================== client.on("anongiftpaidupgrade", (channel, username, userstate) => {