code: async def profile(self):
          
  
          state = self._state
          data = await state.http.get_user_profile(self.id)
  
          def transform(d):
              return state._get_guild(int(d['id']))
  
          since = data.get('premium_since')
          mutual_guilds = list(filter(None, map(transform, data.get('mutual_guilds', []))))
          return Profile(flags=data['user'].get('flags', 0),
                         premium_since=parse_time(since),
                         mutual_guilds=mutual_guilds,
                         user=self,
                         connected_accounts=data['connected_accounts'])
docs: |coro|
  
          Gets the user's profile.
  
          .. note::
  
              This only applies to non-bot accounts.
  
          Raises
          -------
          Forbidden
              Not allowed to fetch profiles.
          HTTPException
              Fetching the profile failed.
  
          Returns
          --------
          :class:`Profile`
              The profile of the user.