code: def set_user_info(self, nick, user='*', real='*'):
          
          if self.connected:
              raise Exception("Can't set user info now, we're already connected!")
  
          # server will pickup list when they exist
          if not self.connected:
              self.nick = nick
  
          self.connect_info['user'] = {
              'nick': nick,
              'user': user,
              'real': real,
          }
docs: Sets user info for this server, to be used before connection.
  
          Args:
              nick (str): Nickname to use.
              user (str): Username to use.
              real (str): Realname to use.