From bb0655da7907e248144036940d8c1c74f81eee98 Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Thu, 28 Apr 2022 19:05:36 +0300 Subject: [PATCH] bugfix --- src/structure/components/observers/CommandHandler.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }; }