Fix bug in Guild.splash_url
This commit is contained in:
parent
1f2602d11e
commit
e6a8eb1a7c
@ -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…
x
Reference in New Issue
Block a user