fix missing return from execute

This commit is contained in:
LenAnderson 2024-01-07 00:16:44 +00:00
parent f7b1b490c7
commit 00041ca01a
1 changed files with 1 additions and 1 deletions

View File

@ -464,7 +464,7 @@ export class QuickReply {
const message = this.message.replace(/\{\{arg::([^}]+)\}\}/g, (_, key) => {
return args[key] ?? '';
});
this.onExecute(this, message, args.isAutoExecute ?? false);
return await this.onExecute(this, message, args.isAutoExecute ?? false);
}
}