mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-08-12 22:00:57 +00:00
解决运行报错(base LangBot v3.4.9.2):
[02-24 05:46:37.616] manager.py (169) - [ERROR] : 平台适配器运行出错: 'GeWeChatAdapter' object has no attribute 'name'
This commit is contained in:
@@ -161,6 +161,8 @@ class GewechatEventConverter(adapter.EventConverter):
|
|||||||
|
|
||||||
class GeWeChatAdapter(adapter.MessagePlatformAdapter):
|
class GeWeChatAdapter(adapter.MessagePlatformAdapter):
|
||||||
|
|
||||||
|
name: str = "gewechat" # 定义适配器名称
|
||||||
|
|
||||||
bot: gewechat_client.GewechatClient
|
bot: gewechat_client.GewechatClient
|
||||||
quart_app: quart.Quart
|
quart_app: quart.Quart
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user