From 347dd0ac2a1aa54675fa0c862b006e66b009070c Mon Sep 17 00:00:00 2001 From: liuwei Date: Mon, 28 Jul 2025 16:40:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=8A=A0=E5=85=A5=E7=BE=A4=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E4=BF=A1=E6=81=AF=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- robot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/robot.py b/robot.py index a177925..a5a2fd9 100644 --- a/robot.py +++ b/robot.py @@ -393,7 +393,7 @@ class Robot: try: chatroom_info = await self.ipad_bot.get_chatroom_info(group_id) self.LOG.debug(f"获取到群信息: {chatroom_info}") - self.allContacts[group_id] = chatroom_info.get('NickName', "未知群名") + self.allContacts[group_id] = chatroom_info.get('NickName').get("string", "未知群名") if chatroom_info: # 保存群信息到数据库 self.contacts_db.save_chatroom_info(chatroom_info)