Update 'node/boto.js'

This commit is contained in:
Sarimoko 2022-03-01 09:10:22 +00:00
parent d1f7a071f0
commit b092218386
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ client.on('message', (channel, tags, message, self) => {
const isMod = badges.moderator; // Define Mod const isMod = badges.moderator; // Define Mod
const isModUp = isBroadcaster || isMod; // Permission Merge = Mod+Streamer const isModUp = isBroadcaster || isMod; // Permission Merge = Mod+Streamer
const isSub = badges.subscriber || badges.founder; // Define Subs const isSub = badges.subscriber || badges.founder; // Define Subs
const isVIP = badges.vip; // Define Mod
const botUserState = client.userstate[channel]; // MOD Status Check const botUserState = client.userstate[channel]; // MOD Status Check
const amMod = botUserState !== undefined && botUserState.mod === true; // Define Mod Status const amMod = botUserState !== undefined && botUserState.mod === true; // Define Mod Status
const percent = Math.floor(Math.random() * 100) + 1; //RNG Percentages% const percent = Math.floor(Math.random() * 100) + 1; //RNG Percentages%