reload command

This commit is contained in:
Emily 2020-10-18 13:51:29 +11:00
parent 5f117d348c
commit 03ce821527
2 changed files with 39 additions and 1 deletions

View file

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