Skip to content

Commit b194f13

Browse files
committed
Fix small docstring error
1 parent 297dff1 commit b194f13

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

discord/user.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,6 @@ def _parse_mutual_friends(self, mutual_friends):
226226
def banner_url(self):
227227
""":class:`Asset`: Returns an :class:`Asset` for the banner the user has.
228228
229-
If the user does not have a banner, the banner color is returned instead.
230-
231229
This is equivalent to calling :meth:`banner_url_as` with
232230
the default parameters (i.e. webp/gif detection and a size of 1024).
233231
@@ -245,8 +243,6 @@ def is_banner_animated(self):
245243
def banner_url_as(self, *, format=None, static_format='webp', size=1024):
246244
"""Returns an :class:`Asset` for the banner the user has.
247245
248-
If the user does not have a banner, the banner color is returned instead.
249-
250246
The format must be one of 'webp', 'jpeg', 'jpg', 'png' or 'gif', and
251247
'gif' is only valid for animated banner. The size must be a power of
252248
2 between 16 and 4096.

0 commit comments

Comments
 (0)