加入了头像信息

This commit is contained in:
liuwei
2025-05-26 15:51:49 +08:00
parent 42e9ad87a7
commit 9724afc7d8
2 changed files with 108 additions and 3 deletions

View File

@@ -189,9 +189,9 @@ class Robot:
self.message_storage = MessageStorage(self.ipad_bot)
# # 获取扩展信息,显示相关内容
# ext_profile = await self.ipad_bot.get_profile_info_ext()
# self.ipad_bot.profile_ext = ext_profile
# self.ipad_bot.head_image = ext_profile.get("SmallHeadImgUrl").get("string")
ext_profile = await self.ipad_bot.get_profile_info_ext()
self.ipad_bot.profile_ext = ext_profile
self.ipad_bot.head_image = ext_profile.get("SmallHeadImgUrl")
# 先接受堆积消息
self.LOG.info("处理堆积消息中")