diff --git a/src/structure/components/observers/CommandHandler.js b/src/structure/components/observers/CommandHandler.js index a015bf9..9b78c87 100644 --- a/src/structure/components/observers/CommandHandler.js +++ b/src/structure/components/observers/CommandHandler.js @@ -73,8 +73,7 @@ class CommandHandler extends Observer { async _executeCommand(thing, options) { try { - const resolved = thing.command.execute(thing, options); - if(resolved instanceof Promise) await resolved; + await thing.command.execute(thing, options); } catch(error) { this.client.logger.error(error.stack || error); this._generateError(thing);