Repository: Rapptz/discord.py
File: discord/member.py (Python)

Code before:

    async def unban(self, *, reason: Optional[str] = None) -> None:
        """|coro|

        Unbans this member. Equivalent to :meth:`Guild.unban`.
        """
        await self.guild.unban(self, reason=reason)

    async def kick(self, *, reason: Optional[str] = None) -> None:
        """|coro|

        Kicks this member. Equivalent to :meth:`Guild.kick`.
        """
        await self.guild.kick(self, reason=reason)

    async def edit(
        self,
        *,
        nick: Optional[str] = MISSING,
        mute: bool = MISSING,
        deafen: bool = MISSING,
        suppress: bool = MISSING,
        roles: Collection[discord.abc.Snowflake] = MISSING,
        voice_channel: Optional[VocalGuildChannel] = MISSING,
        timed_out_until: Optional[datetime.datetime] = MISSING,
        bypasses_verification: bool = MISSING,
        reason: Optional[str] = None,
    ) -> Optional[Member]:
        """|coro|

        Edits the member's data.

        Depending on the parameter passed, this requires different permissions listed below:

        +-----------------------+--------------------------------------+
        |   Parameter           |              Permission              |
        +-----------------------+--------------------------------------+
        | nick                  | :attr:`Permissions.manage_nicknames` |
        +-----------------------+--------------------------------------+
        | mute                  | :attr:`Permissions.mute_members`     |
        +-----------------------+--------------------------------------+
        | deafen                | :attr:`Permissions.deafen_members`   |
        +-----------------------+--------------------------------------+
        | roles                 | :attr:`Permissions.manage_roles`     |
        +-----------------------+--------------------------------------+
        | voice_channel         | :attr:`Permissions.move_members`     |
        +-----------------------+--------------------------------------+
        | timed_out_until       | :attr:`Permissions.moderate_members` |
        +-----------------------+--------------------------------------+
        | bypasses_verification | :attr:`Permissions.manage_guild`     |
        +-----------------------+--------------------------------------+

Review comment (suggestion):
```suggestion
        bypass_verification: bool = MISSING,
```

I think verb-like wording is better. The flag itself doesn't have to change (ex: `suppress=True` in `Message.edit` but `MessageFlags.suppress_embeds`).

Be sure to change the verbiage elsewhere in the method.

Code after:
            delete_message_days=delete_message_days,
            delete_message_seconds=delete_message_seconds,
        )

    async def unban(self, *, reason: Optional[str] = None) -> None:
        """|coro|

        Unbans this member. Equivalent to :meth:`Guild.unban`.
        """
        await self.guild.unban(self, reason=reason)

    async def kick(self, *, reason: Optional[str] = None) -> None:
        """|coro|

        Kicks this member. Equivalent to :meth:`Guild.kick`.
        """
        await self.guild.kick(self, reason=reason)

    async def edit(
        self,
        *,
        nick: Optional[str] = MISSING,
        mute: bool = MISSING,
        deafen: bool = MISSING,
        suppress: bool = MISSING,
        roles: Collection[discord.abc.Snowflake] = MISSING,
        voice_channel: Optional[VocalGuildChannel] = MISSING,
        timed_out_until: Optional[datetime.datetime] = MISSING,
        bypass_verification: bool = MISSING,
        reason: Optional[str] = None,
    ) -> Optional[Member]:
        """|coro|

        Edits the member's data.

        Depending on the parameter passed, this requires different permissions listed below:

        +---------------------+--------------------------------------+
        |      Parameter      |              Permission              |
        +---------------------+--------------------------------------+
        | nick                | :attr:`Permissions.manage_nicknames` |
        +---------------------+--------------------------------------+
        | mute                | :attr:`Permissions.mute_members`     |
        +---------------------+--------------------------------------+
        | deafen              | :attr:`Permissions.deafen_members`   |
        +---------------------+--------------------------------------+
        | roles               | :attr:`Permissions.manage_roles`     |
        +---------------------+--------------------------------------+
        | voice_channel       | :attr:`Permissions.move_members`     |
        +---------------------+--------------------------------------+
        | timed_out_until     | :attr:`Permissions.moderate_members` |