Voice et bot modif
This commit is contained in:
parent
189d56026b
commit
7333a22bcd
10774 changed files with 634644 additions and 933308 deletions
|
|
@ -165,8 +165,8 @@ class Emoji(_EmojiTag, AssetMixin):
|
|||
@property
|
||||
def url(self) -> str:
|
||||
""":class:`str`: Returns the URL of the emoji."""
|
||||
fmt = 'gif' 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]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue