aboutsummaryrefslogtreecommitdiff
path: root/discord/team.py
diff options
context:
space:
mode:
authorBryan Forbes <[email protected]>2020-11-28 18:58:48 -0600
committerGitHub <[email protected]>2020-11-28 19:58:48 -0500
commit80dd2c63c0fd2cd36fef42bd38417cb15ee3afb9 (patch)
tree0145fb521f125a8ac2a94d3f1c79ce2c2eb488ab /discord/team.py
parent[bug] call super constructor for `CustomActivity` to fix `created_at` (diff)
downloaddiscord.py-80dd2c63c0fd2cd36fef42bd38417cb15ee3afb9.tar.xz
discord.py-80dd2c63c0fd2cd36fef42bd38417cb15ee3afb9.zip
Fix Team.icon_url_as format argument default value
Diffstat (limited to 'discord/team.py')
-rw-r--r--discord/team.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/team.py b/discord/team.py
index 94b00a2e..e59c122c 100644
--- a/discord/team.py
+++ b/discord/team.py
@@ -75,7 +75,7 @@ class Team:
"""
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.
The format must be one of 'webp', 'jpeg', 'jpg' or 'png'.