diff --git a/src/structure/components/observers/CommandHandler.js b/src/structure/components/observers/CommandHandler.js index 73f1ba5..161f0fb 100644 --- a/src/structure/components/observers/CommandHandler.js +++ b/src/structure/components/observers/CommandHandler.js @@ -50,7 +50,7 @@ class CommandHandler extends Observer { if (await this._parseResponse(invoker, response)) return; // Temp setup - this._executeCommand(invoker, response.options); + this._executeCommand(invoker, command.slash ? response.options.args : response.options); } @@ -239,7 +239,7 @@ class CommandHandler extends Observer { } - return { options: args, verbose: true }; + return { options: { args, parameters: params }, verbose: true }; }