This commit is contained in:
Ecolipsy 2021-12-02 18:39:18 +01:00
parent 432dcee3b1
commit c46567e831

View file

@ -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);