use cdn url for custom emojis

This commit is contained in:
Ashton Tito 2017-08-14 22:14:24 -07:00 committed by Rapptz
parent 80586cb081
commit e0f733a5c1

View File

@ -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