avatar urls in stead of assets

This commit is contained in:
iDutchy
2020-09-13 23:57:18 +00:00
parent 4b612aeece
commit 43c4d33a4a
2 changed files with 4 additions and 7 deletions

View File

@@ -580,8 +580,8 @@ class Guild(Hashable):
@property
def icon_url(self):
""":class:`Asset`: Returns the guild's icon asset."""
return self.icon_url_as()
""":class:`str`: Returns the guild's direct icon url."""
return str(self.icon_url_as(static_format="png"))
def is_icon_animated(self):
""":class:`bool`: Returns True if the guild has an animated icon."""