From 145a352f0153bfe8b54ea3125a853707d9f4b291 Mon Sep 17 00:00:00 2001 From: Jerrypluay Date: Wed, 29 Oct 2025 21:27:23 +0800 Subject: [PATCH] =?UTF-8?q?fix(core):=20=E4=BF=AE=E6=AD=A3=E4=BB=85@?= =?UTF-8?q?=E6=9C=BA=E5=99=A8=E4=BA=BA=E4=BD=86=E6=97=A0=E6=96=87=E6=9C=AC?= =?UTF-8?q?=E6=97=B6=E8=BF=94=E5=9B=9E=E7=A9=BA=E6=95=B0=E7=BB=84=E7=9A=84?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/ai.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ai.js b/apps/ai.js index 861f257..d7f64be 100644 --- a/apps/ai.js +++ b/apps/ai.js @@ -130,7 +130,7 @@ async function extractUserMessage(msg, nickname, e) { returnMessage += `[${e.sender?.nickname},id:${e.user_id}]说:${message}\n`; }); } - if(at.length == 1 && at[0] == e.bot.uin){ + if(at.length == 1 && at[0] == e.bot.uin && text.length == 0){ return []; } if (at.length > 0) {