Archived
fixed crashing on error
This commit is contained in:
1 parent
0f97524474
commit
244e9f3d2c
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user