Update 'node/boto.js'
This commit is contained in:
parent
7d3da9a13f
commit
e0d5052971
|
@ -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
|
Loading…
Reference in New Issue