forked from Galactic/galactic-bot
bugfix
This commit is contained in:
parent
ab0ac998a3
commit
bb0655da79
@ -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 };
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user