mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-21 16:03:10 +00:00
Fix Team.icon_url_as format argument default value
This commit is contained in:
@@ -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'.
|
||||||
|
Reference in New Issue
Block a user