fix:<本>攻略,发送'%更新本攻略'

This commit is contained in:
yysforget 2024-07-22 16:15:16 +08:00
parent 9061bcbaa7
commit b82bea43c5

View file

@ -147,7 +147,7 @@ export class Guide extends ZZZPlugin {
let posts = lodash.flatten(lodash.map(msyRes, item => item.data.posts)); let posts = lodash.flatten(lodash.map(msyRes, item => item.data.posts));
let url; let url;
for (let val of posts) { for (let val of posts) {
if (val.post.subject.includes(name)) { if (val.post.subject.replace(/【[^】]*本[^】]*】/g, '').includes(name)) {
let max = 0; let max = 0;
val.image_list.forEach((v, i) => { val.image_list.forEach((v, i) => {
if ( if (