Update 'node/boto.js'
This commit is contained in:
parent
09a5756d1e
commit
bc3c56d823
|
@ -40,7 +40,9 @@ client.on('message', (channel, tags, message, self) => {
|
||||||
const isMod = badges.moderator;
|
const isMod = badges.moderator;
|
||||||
const isModUp = isBroadcaster || isMod;
|
const isModUp = isBroadcaster || isMod;
|
||||||
});
|
});
|
||||||
|
if(isModUp) {
|
||||||
|
//
|
||||||
|
}
|
||||||
// !COMMAND START
|
// !COMMAND START
|
||||||
// ==================================
|
// ==================================
|
||||||
client.on('message', (channel, tags, message, self) => {
|
client.on('message', (channel, tags, message, self) => {
|
||||||
|
@ -54,9 +56,7 @@ client.on('message', (channel, tags, message, self) => {
|
||||||
const botUserState = client.userstate[channel];
|
const botUserState = client.userstate[channel];
|
||||||
const amMod = botUserState !== undefined && botUserState.mod === true;
|
const amMod = botUserState !== undefined && botUserState.mod === true;
|
||||||
|
|
||||||
if(isModUp) {
|
|
||||||
//
|
|
||||||
}
|
|
||||||
// M O D S Q U A D
|
// M O D S Q U A D
|
||||||
// ----------------------------------
|
// ----------------------------------
|
||||||
//let isMod = user.mod || user['user-type'] === 'mod';
|
//let isMod = user.mod || user['user-type'] === 'mod';
|
||||||
|
|
Loading…
Reference in New Issue