reload command
This commit is contained in:
parent
5f117d348c
commit
03ce821527
2 changed files with 39 additions and 1 deletions
|
@ -79,7 +79,7 @@ class CommandHandler {
|
|||
commandFiles.filter((cmd) => cmd.split('.').pop() === 'js').forEach((cmd) => {
|
||||
cmd = cmd.substring(0, cmd.length - 3);
|
||||
const res = this.unload(cmd, dir);
|
||||
if (res) this.client.logger.error(res);
|
||||
if (res) this.client.logger.error('Command unload: ' + res);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue