fix: use emoji_id for get_emoji_url
This commit is contained in:
parent
8c814890c7
commit
ebb12f56a1
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ def get_emoji_url(emoji: str) -> str | None:
|
|||
if m is None:
|
||||
return None
|
||||
emoji_id = m.group(2)
|
||||
return f"https://cdn.discordapp.com/emojis/{emoji}.gif"
|
||||
return f"https://cdn.discordapp.com/emojis/{emoji_id}.gif"
|
||||
|
||||
|
||||
class Extension:
|
||||
|
|
|
|||
Loading…
Reference in a new issue