测试入群提醒。
This commit is contained in:
@@ -174,12 +174,6 @@ class GroupMemberChangePlugin(MessagePluginInterface):
|
||||
<commenturl></commenturl>
|
||||
"""
|
||||
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, "无需执行"
|
||||
|
||||
|
||||
@@ -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"):
|
||||
|
||||
Reference in New Issue
Block a user