Browse Source

use cdn url for custom emojis

pull/723/merge
Ashton Tito 8 years ago
committed by Rapptz
parent
commit
e0f733a5c1
  1. 2
      discord/emoji.py

2
discord/emoji.py

@ -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…
Cancel
Save