Merge pull request #1646 from LenAnderson/qr-fix-run

This commit is contained in:
Cohee 2024-01-07 02:34:57 +02:00 committed by GitHub
commit e3d1008aa1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);
}
}