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) => {