Skip to content

Commit

Permalink
Fix small docstring error
Browse files Browse the repository at this point in the history
  • Loading branch information
dolfies committed Aug 7, 2021
1 parent 297dff1 commit b194f13
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions discord/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,6 @@ def _parse_mutual_friends(self, mutual_friends):
def banner_url(self):
""":class:`Asset`: Returns an :class:`Asset` for the banner the user has.
If the user does not have a banner, the banner color is returned instead.
This is equivalent to calling :meth:`banner_url_as` with
the default parameters (i.e. webp/gif detection and a size of 1024).
Expand All @@ -245,8 +243,6 @@ def is_banner_animated(self):
def banner_url_as(self, *, format=None, static_format='webp', size=1024):
"""Returns an :class:`Asset` for the banner the user has.
If the user does not have a banner, the banner color is returned instead.
The format must be one of 'webp', 'jpeg', 'jpg', 'png' or 'gif', and
'gif' is only valid for animated banner. The size must be a power of
2 between 16 and 4096.
Expand Down

0 comments on commit b194f13

Please sign in to comment.