fix missing return from execute
This commit is contained in:
parent
f7b1b490c7
commit
00041ca01a
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue