From 244e9f3d2c8ac6b7c3d6107c582456a2cde22209 Mon Sep 17 00:00:00 2001 From: GRZ4NA Date: Thu, 9 Sep 2021 00:01:56 +0200 Subject: [PATCH] fixed crashing on error --- src/commands/ChatCommand.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/ChatCommand.ts b/src/commands/ChatCommand.ts index cb73d0d..8de8c73 100644 --- a/src/commands/ChatCommand.ts +++ b/src/commands/ChatCommand.ts @@ -92,7 +92,7 @@ export class ChatCommand extends BaseCommand { if (!this.slash && interaction instanceof Interaction) { throw new Error("This command is not available as a slash command"); } - super.start(args, interaction, target); + await super.start(args, interaction, target); } /**