bruh
This commit is contained in:
parent
becfa586ab
commit
99344c580d
@ -82,7 +82,6 @@ class CommandHandler extends Observer {
|
||||
const response = await this._parseInteraction(interaction, command);
|
||||
if (await this._parseResponse(invoker, response)) return;
|
||||
|
||||
this.logger.info(`${interaction.user.tag} (${interaction.user.id}) is executing ${command.name}`);
|
||||
await this._executeCommand(invoker, response.options);
|
||||
|
||||
}
|
||||
@ -131,6 +130,7 @@ class CommandHandler extends Observer {
|
||||
let response = null;
|
||||
const now = Date.now();
|
||||
try {
|
||||
this.logger.info(`${invoker.user.tag} (${invoker.user.id}) is executing ${invoker.command.name}`);
|
||||
response = await invoker.command.execute(invoker, options);
|
||||
invoker.command.success(now);
|
||||
} catch (error) {
|
||||
|
Loading…
Reference in New Issue
Block a user