Skip to content

Commit c7575d9

Browse files
authored
Fix docstrings for version added in Member.edit
1 parent 8f90b7d commit c7575d9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

discord/member.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -890,15 +890,18 @@ async def edit(
890890
A :term:`py:bytes-like object` representing the image to upload. Could be ``None`` to denote no avatar.
891891
Only image formats supported for uploading are JPEG, PNG, GIF, and WEBP.
892892
This can only be set when editing the bot's own member.
893+
893894
.. versionadded:: 2.7
894895
banner: Optional[:class:`bytes`]
895896
A :term:`py:bytes-like object` representing the image to upload. Could be ``None`` to denote no banner.
896897
Only image formats supported for uploading are JPEG, PNG, GIF and WEBP..
897898
This can only be set when editing the bot's own member.
899+
898900
.. versionadded:: 2.7
899901
bio: Optional[:class:`str`]
900902
The new bio for the member. Use ``None`` to remove the bio.
901903
This can only be set when editing the bot's own member.
904+
902905
.. versionadded:: 2.7
903906
904907
reason: Optional[:class:`str`]

0 commit comments

Comments
 (0)