diff --git a/discord/user.py b/discord/user.py index b0ba869cb..2cffcee55 100644 --- a/discord/user.py +++ b/discord/user.py @@ -410,7 +410,6 @@ class ClientUser(BaseUser): then the file must be opened via ``open('some_filename', 'rb')`` and the :term:`py:bytes-like object` is given through the use of ``fp.read()``. - The only image formats supported for uploading is JPEG and PNG. .. versionchanged:: 2.0 The edit is no longer in-place, instead the newly edited client user is returned. @@ -426,6 +425,7 @@ class ClientUser(BaseUser): avatar: Optional[:class:`bytes`] A :term:`py:bytes-like object` representing the image to upload. Could be ``None`` to denote no avatar. + Only image formats supported for uploading are JPEG, PNG, GIF, and WEBP. Raises ------