Update 'node/boto.js'
This commit is contained in:
parent
d931e0c7ac
commit
d9020a3e12
10
node/boto.js
10
node/boto.js
|
@ -114,11 +114,11 @@ client.on('message', (channel, tags, message, self) => {
|
|||
//let isMod = user.mod || user['user-type'] === 'mod';
|
||||
//let isBroadcaster = channel.slice(1) === user.username;
|
||||
//let isModUp = isMod || isBroadcaster;
|
||||
//if(isModUp) {
|
||||
// if(command === 'mod') {
|
||||
// client.say(channel, `Mod test command`);
|
||||
// }
|
||||
//}
|
||||
if(isModUp) {
|
||||
if(command === 'mod') {
|
||||
client.say(channel, `Mod test command`);
|
||||
}
|
||||
}
|
||||
|
||||
// I N F O
|
||||
// ==================================
|
||||
|
|
Loading…
Reference in New Issue