From f70b8f0c109c373265e5beb5bf6a43c93a4c668a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=8F=E7=9B=AE=E4=BE=A7=E8=80=B3?= Date: Thu, 15 May 2025 19:09:56 +0800 Subject: [PATCH] Update astrbot/core/platform/sources/wechatpadpro/wechatpadpro_adapter.py Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com> --- .../platform/sources/wechatpadpro/wechatpadpro_adapter.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/astrbot/core/platform/sources/wechatpadpro/wechatpadpro_adapter.py b/astrbot/core/platform/sources/wechatpadpro/wechatpadpro_adapter.py index ec1d9aa3c..1452ee7af 100644 --- a/astrbot/core/platform/sources/wechatpadpro/wechatpadpro_adapter.py +++ b/astrbot/core/platform/sources/wechatpadpro/wechatpadpro_adapter.py @@ -508,8 +508,3 @@ class WeChatPadProAdapter(Platform): 通过会话发送消息。 """ logger.info(f"向会话 {session} 发送消息: {message_chain}") - # 在这里实现将 MessageChain 转换为 WeChatPadPro 消息格式并发送的逻辑 - # 例如: - # message_text = "".join([comp.text for comp in message_chain if isinstance(comp, Plain)]) - # await self.client.send_message(session.session_id, message_text) - pass # 待实现