From 6aeae7e9f5c6523abb9aece93d1115a472c980c8 Mon Sep 17 00:00:00 2001 From: Ethan Date: Mon, 24 Feb 2025 18:53:29 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E8=BF=90=E8=A1=8C=E6=8A=A5?= =?UTF-8?q?=E9=94=99(base=20LangBot=20v3.4.9.2):=20[02-24=2005:46:37.616]?= =?UTF-8?q?=20manager.py=20(169)=20-=20[ERROR]=20:=20=E5=B9=B3=E5=8F=B0?= =?UTF-8?q?=E9=80=82=E9=85=8D=E5=99=A8=E8=BF=90=E8=A1=8C=E5=87=BA=E9=94=99?= =?UTF-8?q?:=20'GeWeChatAdapter'=20object=20has=20no=20attribute=20'name'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/platform/sources/gewechat.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/platform/sources/gewechat.py b/pkg/platform/sources/gewechat.py index 62f3de7d..557cf756 100644 --- a/pkg/platform/sources/gewechat.py +++ b/pkg/platform/sources/gewechat.py @@ -160,7 +160,9 @@ class GewechatEventConverter(adapter.EventConverter): class GeWeChatAdapter(adapter.MessagePlatformAdapter): - + + name: str = "gewechat" # 定义适配器名称 + bot: gewechat_client.GewechatClient quart_app: quart.Quart