From 32e88958896ee34636671e46f693a926199f9c52 Mon Sep 17 00:00:00 2001 From: sliverp Date: Fri, 30 Jan 2026 14:23:58 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gateway.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/gateway.ts b/src/gateway.ts index 47eaef4..6cd5c91 100644 --- a/src/gateway.ts +++ b/src/gateway.ts @@ -386,8 +386,13 @@ MEDIA:/绝对路径/图片文件.png timeoutId = null; } + log?.info(`[qqbot:${account.accountId}] deliver called, payload: ${JSON.stringify(payload).slice(0, 200)}`); + let replyText = payload.text ?? ""; - if (!replyText.trim()) return; + if (!replyText.trim()) { + log?.info(`[qqbot:${account.accountId}] Empty reply text, skipping`); + return; + } // 提取回复中的图片 const imageUrls: string[] = [];