Update 'node/boto.js'

This commit is contained in:
Sarimoko 2022-02-12 05:24:23 +00:00
parent e0d5052971
commit 729ac0809e
1 changed files with 3 additions and 2 deletions

View File

@ -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/`);
} }