Update 'node/boto.js'

This commit is contained in:
Sarimoko 2022-02-12 05:23:13 +00:00
parent 7d3da9a13f
commit e0d5052971
1 changed files with 3 additions and 0 deletions

View File

@ -34,6 +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{
console.log(`Command not found`)
}
}); // SCAN MSG | END }); // SCAN MSG | END