From 9bcc9185e7faf1119155caaf0d524440b9748825 Mon Sep 17 00:00:00 2001 From: Justin <14909116+ThatGuyJustin@users.noreply.github.com> Date: Sat, 4 May 2019 13:12:14 -0400 Subject: [PATCH] Updating emoji cdn (#137) Apparently the /api endpoint stopped working, so updating to use the cdn link. --- disco/types/guild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disco/types/guild.py b/disco/types/guild.py index 80149f2..929ee9f 100644 --- a/disco/types/guild.py +++ b/disco/types/guild.py @@ -75,7 +75,7 @@ class GuildEmoji(Emoji): @property def url(self): - return 'https://discordapp.com/api/emojis/{}.{}'.format(self.id, 'gif' if self.animated else 'png') + return 'https://cdn.discordapp.com/emojis/{}.{}'.format(self.id, 'gif' if self.animated else 'png') @cached_property def guild(self):