加入签名信息显示
This commit is contained in:
3
robot.py
3
robot.py
@@ -165,12 +165,13 @@ class Robot:
|
||||
self.ipad_bot.nickname = profile.get("NickName").get("string")
|
||||
self.ipad_bot.alias = profile.get("Alias")
|
||||
self.ipad_bot.phone = profile.get("BindMobile").get("string")
|
||||
|
||||
self.ipad_bot.signature = profile.get("Signature")
|
||||
# 更新Robot类的属性
|
||||
self.wxid = self.ipad_bot.wxid
|
||||
self.nickname = self.ipad_bot.nickname
|
||||
self.alias = self.ipad_bot.alias
|
||||
self.phone = self.ipad_bot.phone
|
||||
self.signature = self.ipad_bot.signature
|
||||
|
||||
self.LOG.info(
|
||||
f"wechat_ipad登录账号信息: wxid: {self.wxid} 昵称: {self.nickname} 微信号: {self.alias} 手机号: {self.phone}")
|
||||
|
||||
Reference in New Issue
Block a user