diff --git a/bot.py b/bot.py index e87a3d5..bd56c88 100644 --- a/bot.py +++ b/bot.py @@ -71,7 +71,7 @@ class TulingWXBot(WXBot): self.send_msg_by_uid(self.tuling_auto_reply(msg['user']['id'], msg['content']['data']), msg['user']['id']) elif msg['msg_type_id'] == 3 and msg['content']['type'] == 0: # group text message if 'detail' in msg['content']: - my_names = self.get_group_member_name(self.my_account['UserName'], msg['user']['id']) + my_names = self.get_group_member_name(msg['user']['id'], self.my_account['UserName']) if my_names is None: my_names = {} if 'NickName' in self.my_account and self.my_account['NickName']: