Update 'node/boto.js'
This commit is contained in:
parent
e0d5052971
commit
729ac0809e
|
@ -34,8 +34,9 @@ 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
|
||||||
else{
|
if(command === 'cord' ||
|
||||||
console.log(`Command not found`)
|
command === 'discord') {
|
||||||
|
client.say(channel, `/me The Cord by Sarimoko is joinable & sharable at: https://cord.sarimoko.com/`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue