diff options
| author | Bryan Forbes <[email protected]> | 2020-11-28 18:58:48 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-11-28 19:58:48 -0500 |
| commit | 80dd2c63c0fd2cd36fef42bd38417cb15ee3afb9 (patch) | |
| tree | 0145fb521f125a8ac2a94d3f1c79ce2c2eb488ab /discord/team.py | |
| parent | [bug] call super constructor for `CustomActivity` to fix `created_at` (diff) | |
| download | discord.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.py | 2 |
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'. |