Browse Source

Fix bug in Guild.splash_url

pull/1741/head
Rapptz 6 years ago
parent
commit
e6a8eb1a7c
  1. 2
      discord/guild.py

2
discord/guild.py

@ -441,7 +441,7 @@ class Guild(Hashable):
@property @property
def splash_url(self): def splash_url(self):
"""Returns the URL version of the guild's invite splash. Returns an empty string if it has no splash.""" """Returns the URL version of the guild's invite splash. Returns an empty string if it has no splash."""
return self.icon_url_as() return self.splash_url_as()
def splash_url_as(self, *, format='webp', size=2048): def splash_url_as(self, *, format='webp', size=2048):
"""Returns a friendly URL version of the guild's invite splash. Returns an empty string if it has no splash. """Returns a friendly URL version of the guild's invite splash. Returns an empty string if it has no splash.

Loading…
Cancel
Save