加入了头像信息
This commit is contained in:
8
robot.py
8
robot.py
@@ -188,10 +188,10 @@ class Robot:
|
|||||||
|
|
||||||
self.message_storage = MessageStorage(self.ipad_bot)
|
self.message_storage = MessageStorage(self.ipad_bot)
|
||||||
|
|
||||||
# 获取扩展信息,显示相关内容
|
# # 获取扩展信息,显示相关内容
|
||||||
ext_profile = await self.ipad_bot.get_profile_info_ext()
|
# ext_profile = await self.ipad_bot.get_profile_info_ext()
|
||||||
self.ipad_bot.profile_ext = ext_profile
|
# self.ipad_bot.profile_ext = ext_profile
|
||||||
self.ipad_bot.head_image = ext_profile.get("SmallHeadImgUrl").get("string")
|
# self.ipad_bot.head_image = ext_profile.get("SmallHeadImgUrl").get("string")
|
||||||
|
|
||||||
# 先接受堆积消息
|
# 先接受堆积消息
|
||||||
self.LOG.info("处理堆积消息中")
|
self.LOG.info("处理堆积消息中")
|
||||||
|
|||||||
Reference in New Issue
Block a user