diff --git a/astrbot/core/platform/sources/gewechat/client.py b/astrbot/core/platform/sources/gewechat/client.py index edc7afb55..d2f28f09d 100644 --- a/astrbot/core/platform/sources/gewechat/client.py +++ b/astrbot/core/platform/sources/gewechat/client.py @@ -666,16 +666,3 @@ class SimpleGewechatClient: json_blob = await resp.json() logger.debug(f"获取群信息结果: {json_blob}") return json_blob - - async def send_message(self, to_wxid, content): - payload = {"appId": self.appid, "toWxid": to_wxid, "content": content} - - async with aiohttp.ClientSession() as session: - async with session.post( - f"{self.base_url}/message/postText", - headers=self.headers, - json=payload, - ) as resp: - json_blob = await resp.json() - logger.debug(f"获取群信息结果: {json_blob}") - # return json_blob