Debug
This commit is contained in:
parent
432dcee3b1
commit
c46567e831
1 changed files with 0 additions and 1 deletions
1
index.js
1
index.js
|
@ -206,7 +206,6 @@ client.on("messageCreate", (msg) => {
|
||||||
console.log("Got to %s!", i);
|
console.log("Got to %s!", i);
|
||||||
const commandName = args.shift().toLowerCase() //gets what the commands name is and makes it lowercase so it aint case sensitive
|
const commandName = args.shift().toLowerCase() //gets what the commands name is and makes it lowercase so it aint case sensitive
|
||||||
|
|
||||||
if (!client.commands.has(commandName)) return msg.channel.send("I don't know that command! Check the available commands with ju!help")
|
|
||||||
i++;
|
i++;
|
||||||
console.log("Got to %s!", i);
|
console.log("Got to %s!", i);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue