Fix bug in Guild.splash_url

This commit is contained in:
Rapptz 2018-11-26 02:04:01 -05:00
parent 1f2602d11e
commit e6a8eb1a7c

View File

@ -441,7 +441,7 @@ class Guild(Hashable):
@property
def splash_url(self):
"""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):
"""Returns a friendly URL version of the guild's invite splash. Returns an empty string if it has no splash.