async def create_invite(self, *, reason=None, **fields):
data = await self._state.http.create_invite(self.id, reason=reason, **fields)<EOL>return Invite.from_incomplete(data=data, state=self._state)<EOL>
|coro|

        Creates an instant invite.

        You must have :attr:`~.Permissions.create_instant_invite` permission to
        do this.

        Parameters
        ------------
        max_age: :class:`int`
            How long the invite should last. If it's 0 then the invite
            doesn't expire. Defaults to 0.
        max_uses: :class:`int`
            How many uses the invite could be used for. If it's 0 then there
            are unlimited uses. Defaults to 0.
        temporary: :class:`bool`
            Denotes that the invite grants temporary membership
            (i.e. they get kicked after they disconnect). Defaults to False.
        unique: :class:`bool`
            Indicates if a unique invite URL should be created. Defaults to True.
            If this is set to False then it will return a previously created
            invite.
        reason: Optional[:class:`str`]
            The reason for creating this invite. Shows up on the audit log.

        Raises
        -------
        HTTPException
            Invite creation failed.

        Returns
        --------
        :class:`Invite`
            The invite that was created.