From 4c16b564eef569d819a49fa6a40b1fcb93dc7c52 Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Wed, 19 Mar 2025 01:09:01 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=88=20perf:=20=E5=BF=BD=E7=95=A5?= =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E5=9B=A2=E9=98=9F=E6=B6=88=E6=81=AF=20#859?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- astrbot/core/platform/sources/gewechat/client.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/astrbot/core/platform/sources/gewechat/client.py b/astrbot/core/platform/sources/gewechat/client.py index f0e64e698..53b4fe276 100644 --- a/astrbot/core/platform/sources/gewechat/client.py +++ b/astrbot/core/platform/sources/gewechat/client.py @@ -192,6 +192,11 @@ class SimpleGewechatClient: abm.sender = MessageMember(user_id, user_real_name) abm.raw_message = d abm.message_str = "" + + if user_id == "weixin": + # 忽略微信团队消息 + return + # 不同消息类型 match d["MsgType"]: case 1: