diff options
| author | Ashton Tito <[email protected]> | 2017-08-14 22:14:24 -0700 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-08-16 07:10:48 -0400 |
| commit | e0f733a5c11d67f3c94be3b808310184fa5e1477 (patch) | |
| tree | de85d99a2ac778d6452ede20b75ffed532bac9bb | |
| parent | Minor fixes in migrating doc (diff) | |
| download | discord.py-e0f733a5c11d67f3c94be3b808310184fa5e1477.tar.xz discord.py-e0f733a5c11d67f3c94be3b808310184fa5e1477.zip | |
use cdn url for custom emojis
| -rw-r--r-- | discord/emoji.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/emoji.py b/discord/emoji.py index a959bea8..05f02ecb 100644 --- a/discord/emoji.py +++ b/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 |