fixed crashing on error

This commit is contained in:
mmacierzanka committed 2021-09-09 00:01:56 +02:00
1 parent 0f97524474
commit 244e9f3d2c
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}
/**