File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -890,15 +890,18 @@ async def edit(
890
890
A :term:`py:bytes-like object` representing the image to upload. Could be ``None`` to denote no avatar.
891
891
Only image formats supported for uploading are JPEG, PNG, GIF, and WEBP.
892
892
This can only be set when editing the bot's own member.
893
+
893
894
.. versionadded:: 2.7
894
895
banner: Optional[:class:`bytes`]
895
896
A :term:`py:bytes-like object` representing the image to upload. Could be ``None`` to denote no banner.
896
897
Only image formats supported for uploading are JPEG, PNG, GIF and WEBP..
897
898
This can only be set when editing the bot's own member.
899
+
898
900
.. versionadded:: 2.7
899
901
bio: Optional[:class:`str`]
900
902
The new bio for the member. Use ``None`` to remove the bio.
901
903
This can only be set when editing the bot's own member.
904
+
902
905
.. versionadded:: 2.7
903
906
904
907
reason: Optional[:class:`str`]
You can’t perform that action at this time.
0 commit comments