Update 'node/boto.js'
This commit is contained in:
parent
d1f7a071f0
commit
b092218386
|
@ -81,6 +81,7 @@ client.on('message', (channel, tags, message, self) => {
|
|||
const isMod = badges.moderator; // Define Mod
|
||||
const isModUp = isBroadcaster || isMod; // Permission Merge = Mod+Streamer
|
||||
const isSub = badges.subscriber || badges.founder; // Define Subs
|
||||
const isVIP = badges.vip; // Define Mod
|
||||
const botUserState = client.userstate[channel]; // MOD Status Check
|
||||
const amMod = botUserState !== undefined && botUserState.mod === true; // Define Mod Status
|
||||
const percent = Math.floor(Math.random() * 100) + 1; //RNG Percentages%
|
||||
|
|
Loading…
Reference in New Issue