mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Fix bug in Guild.splash_url
This commit is contained in:
parent
1f2602d11e
commit
e6a8eb1a7c
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user