prevent inject on auto-execute

This commit is contained in:
LenAnderson
2024-01-01 23:08:18 +00:00
parent 473326b3fb
commit 70d6e6d37f
3 changed files with 5 additions and 5 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);
this.onExecute(this, message, args.isAutoExecute ?? false);
}
}