async def profile(self):
state = self._state<EOL>data = await state.http.get_user_profile(self.id)<EOL>def transform(d):<EOL><INDENT>return state._get_guild(int(d['<STR_LIT:id>']))<EOL><DEDENT>since = data.get('<STR_LIT>')<EOL>mutual_guilds = list(filter(None, map(transform, data.get('<STR_LIT>', []))))<EOL>return Profile(flags=data['<STR_LIT:user>'].get('<STR_LIT>', <NUM_LIT:0>),<EOL>premium_since=parse_time(since),<EOL>mutual_guilds=mutual_guilds,<EOL>user=self,<EOL>connected_accounts=data['<STR_LIT>'])<EOL>
|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.