From f7022ecc68e27f1feaae4995a80427b28ef6553d Mon Sep 17 00:00:00 2001 From: A0000Xz <122650088+A0000Xz@users.noreply.github.com> Date: Wed, 17 Sep 2025 19:53:13 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=8F=E8=BF=87=E6=88=B3=E4=B8=80=E6=88=B3?= =?UTF-8?q?=E6=B6=88=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/chat/message_receive/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat/message_receive/bot.py b/src/chat/message_receive/bot.py index 0709dcd8..ec497e74 100644 --- a/src/chat/message_receive/bot.py +++ b/src/chat/message_receive/bot.py @@ -150,7 +150,7 @@ class ChatBot: return False, None, True # 出错时继续处理消息 async def handle_notice_message(self, message: MessageRecv): - if message.message_info.message_id == "notice": + if message.message_info.message_id == "notice" and not message.message_info.additional_config.get("target_id"): message.is_notify = True logger.info("notice消息") # print(message)