|
|
@ -165,8 +165,8 @@ class Emoji(_EmojiTag, AssetMixin): |
|
|
|
@property |
|
|
|
def url(self) -> str: |
|
|
|
""":class:`str`: Returns the URL of the emoji.""" |
|
|
|
fmt = 'webp' if self.animated else 'png' |
|
|
|
return f'{Asset.BASE}/emojis/{self.id}.{fmt}' |
|
|
|
end = 'webp?animated=true' if self.animated else 'png' |
|
|
|
return f'{Asset.BASE}/emojis/{self.id}.{end}' |
|
|
|
|
|
|
|
@property |
|
|
|
def roles(self) -> List[Role]: |
|
|
|