mirror of
https://github.com/Alee14/AleeBot.git
synced 2025-01-23 11:41:51 -05:00
Updates on if the person types the wrong command
This commit is contained in:
parent
2a1d4d0a76
commit
de3c80eccc
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ client.on("message", function(message) {
|
|||
let commandFile = require(`./commands/${command}.js`);
|
||||
commandFile.run(client, message, args, config, abversion);
|
||||
} catch (err) {
|
||||
message.channel.send(":no_entry_sign: Error!\n`"+ err +"`");
|
||||
message.channel.send(`:no_entry_sign: Error!\n The command ${command} isn't found!`);
|
||||
log(err);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue