We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d19bc7 commit 9c327dfCopy full SHA for 9c327df
discord/emoji.py
@@ -165,7 +165,7 @@ def created_at(self) -> datetime:
165
@property
166
def url(self) -> str:
167
""":class:`str`: Returns the URL of the emoji."""
168
- fmt = 'gif' if self.animated else 'png'
+ fmt = 'webp' if self.animated else 'png'
169
return f'{Asset.BASE}/emojis/{self.id}.{fmt}'
170
171
discord/partial_emoji.py
@@ -245,7 +245,7 @@ def url(self) -> str:
245
if self.is_unicode_emoji():
246
return ''
247
248
249
250
251
async def read(self) -> bytes:
0 commit comments