diff --git a/plugins/group_member_change/main.py b/plugins/group_member_change/main.py index 177a7a4..83722aa 100644 --- a/plugins/group_member_change/main.py +++ b/plugins/group_member_change/main.py @@ -174,12 +174,6 @@ class GroupMemberChangePlugin(MessagePluginInterface): """ await bot.send_link_xml_message(xml_content, roomid) - # if members: - # gewe_client.client.post_link(gewe_client.client.app_id, sender, - # title=f"👏欢迎 {nickname} 加入群聊!🎉", - # description=f"⌚时间:{now}\n", - # url="https://hot.imsyy.top/#/", - # thumb_url=profile.data[0].big_head_img_url) return True, "已发送进群欢迎语" return False, "无需执行" diff --git a/wechat_ipad/client/message.py b/wechat_ipad/client/message.py index e316a90..d036b6f 100644 --- a/wechat_ipad/client/message.py +++ b/wechat_ipad/client/message.py @@ -471,7 +471,7 @@ class MessageMixin(WechatAPIClientBase): async with aiohttp.ClientSession() as session: json_param = {"Wxid": self.wxid, "ToWxid": wxid, "Md5": md5, "TotalLen": total_length} - response = await session.post(f'http://{self.ip}:{self.port}/SendEmojiMsg', json=json_param) + response = await session.post(f'http://{self.ip}:{self.port}/api/Msg/SendEmoji', json=json_param) json_resp = await response.json() if json_resp.get("Success"):