Update 'node/boto.js'
This commit is contained in:
parent
729ac0809e
commit
9e22a2a87a
|
@ -34,10 +34,13 @@ client.on('message', (channel, tags, message, self) => {
|
||||||
if(self || !message.startsWith('!')) return; // Command Parser
|
if(self || !message.startsWith('!')) return; // Command Parser
|
||||||
const args = message.slice(1).split(' ');
|
const args = message.slice(1).split(' ');
|
||||||
const command = args.shift().toLowerCase(); // !COMMAND => command
|
const command = args.shift().toLowerCase(); // !COMMAND => command
|
||||||
|
|
||||||
if(command === 'cord' ||
|
if(command === 'cord' ||
|
||||||
command === 'discord') {
|
command === 'discord') {
|
||||||
client.say(channel, `/me The Cord by Sarimoko is joinable & sharable at: https://cord.sarimoko.com/`);
|
client.say(channel, `/me The Cord by Sarimoko is joinable & sharable at: https://cord.sarimoko.com/`);
|
||||||
}
|
}
|
||||||
|
if(isModUp) {
|
||||||
|
client.say(channel, `A MOD has spoken...`);
|
||||||
|
}
|
||||||
|
|
||||||
}); // SCAN MSG | END
|
}); // SCAN MSG | END
|
Loading…
Reference in New Issue