Update 'node/boto.js'
This commit is contained in:
parent
78dc5775d2
commit
2428e82bb5
|
@ -41,8 +41,8 @@ client.on('message', (channel, tags, message, self) => {
|
||||||
const isModUp = isBroadcaster || isMod;
|
const isModUp = isBroadcaster || isMod;
|
||||||
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 && message.toLowerCase().startsWith('!mod')) {
|
if(isModUp && message.toLowerCase().startsWith('!so')) {
|
||||||
console.log('LOG: Mod command used!');
|
console.log('BLEEP! BLOOP! On behave of The Sarimoko Show, I'd like the thank my producers, my agents, & @${args.join(' ')} for making all of this possible! https://twitch.tv/${args.join(' ')}');
|
||||||
}
|
}
|
||||||
if(message.toLowerCase().startsWith('!mod')) {
|
if(message.toLowerCase().startsWith('!mod')) {
|
||||||
console.log('LOG: Non-Mod command used!');
|
console.log('LOG: Non-Mod command used!');
|
||||||
|
|
Loading…
Reference in New Issue