mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
use cdn url for custom emojis
This commit is contained in:
parent
80586cb081
commit
e0f733a5c1
@ -171,7 +171,7 @@ class Emoji(Hashable):
|
||||
@property
|
||||
def url(self):
|
||||
"""Returns a URL version of the emoji."""
|
||||
return "https://discordapp.com/api/emojis/{0.id}.png".format(self)
|
||||
return "https://cdn.discordapp.com/emojis/{0.id}.png".format(self)
|
||||
|
||||
|
||||
@asyncio.coroutine
|
||||
|
Loading…
x
Reference in New Issue
Block a user