From 00041ca01ac0854dca8c98f20c0a01e84063c921 Mon Sep 17 00:00:00 2001 From: LenAnderson Date: Sun, 7 Jan 2024 00:16:44 +0000 Subject: [PATCH] fix missing return from execute --- public/scripts/extensions/quick-reply/src/QuickReply.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/extensions/quick-reply/src/QuickReply.js b/public/scripts/extensions/quick-reply/src/QuickReply.js index e01666670..e247aa940 100644 --- a/public/scripts/extensions/quick-reply/src/QuickReply.js +++ b/public/scripts/extensions/quick-reply/src/QuickReply.js @@ -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); } }