Browse Source

Updating emoji cdn

Apparently the /api endpoint stopped working, so updating to use the cdn link.
pull/137/head
Justin 6 years ago
committed by GitHub
parent
commit
c9140d7ce0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      disco/types/guild.py

2
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):

Loading…
Cancel
Save