From 7d4839c10bd961cd69459e52c3762ab38efb280c Mon Sep 17 00:00:00 2001 From: zhiyu1998 <542716863@qq.com> Date: Thu, 22 Aug 2024 12:19:50 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=84=20reactor:=20=E9=87=8D=E6=9E=84`ti?= =?UTF-8?q?eba`=E8=A7=A3=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/tools.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/tools.js b/apps/tools.js index c30f0f6..b99cd72 100644 --- a/apps/tools.js +++ b/apps/tools.js @@ -1906,7 +1906,7 @@ export class tools extends plugin { const top = postList[0]; const { title, content } = top; let sendContent = `${this.identifyPrefix}识别:贴吧,${ title }` - if (content.length > 0) { + if (content && content.length > 0) { sendContent = [sendContent] for (let contentElement of content) { if (contentElement?.cdn_src !== undefined) {