🐞 fix(tools.js): 修复微信文章在管理员的情况下会撤销原消息 [#77]

This commit is contained in:
zhiyu1998 2025-08-03 19:52:57 +08:00
parent 8eb5bc80d5
commit 99eb0ea7a3

View File

@ -202,7 +202,7 @@ export class tools extends plugin {
fnc: "freyr"
},
{
reg: "(^#总结一下(http|https):\/\/.*|mp.weixin|arxiv.org|sspai.com|chinadaily.com.cn|zhihu.com)",
reg: "(^#总结一下(http|https):\/\/.*|mp.weixin.qq.com|arxiv.org|sspai.com|chinadaily.com.cn|zhihu.com)",
fnc: "linkShareSummary"
},
{
@ -2669,7 +2669,7 @@ export class tools extends plugin {
await builder.build();
e.reply(`${this.identifyPrefix}识别:${name},正在为您总结,请稍等...`, true, { recallMsg: MESSAGE_RECALL_TIME });
e.reply(`${this.identifyPrefix}识别:${name},正在为您总结,请稍等...`, true);
let messages = [{ role: "user", content: summaryLink }];