mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-29 23:00:08 +00:00
Fix Team.icon_url_as format argument default value
This commit is contained in:
parent
df3e5a15a6
commit
80dd2c63c0
@ -75,7 +75,7 @@ class Team:
|
|||||||
"""
|
"""
|
||||||
return self.icon_url_as()
|
return self.icon_url_as()
|
||||||
|
|
||||||
def icon_url_as(self, *, format='None', size=1024):
|
def icon_url_as(self, *, format='webp', size=1024):
|
||||||
"""Returns an :class:`Asset` for the icon the team has.
|
"""Returns an :class:`Asset` for the icon the team has.
|
||||||
|
|
||||||
The format must be one of 'webp', 'jpeg', 'jpg' or 'png'.
|
The format must be one of 'webp', 'jpeg', 'jpg' or 'png'.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user