Browse Source

Fix Team.icon_url_as format argument default value

pull/6101/head
Bryan Forbes 4 years ago
committed by GitHub
parent
commit
80dd2c63c0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      discord/team.py

2
discord/team.py

@ -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…
Cancel
Save