PartialEmoji.from_str incorrectly assumes emojis starting with a
but not including :
are animated
#9456
Closed
3 tasks done
Labels
bug
This is a bug with the library.
Summary
PartialEmoji.from_str incorrectly assumes emojis starting with
a
but not including:
are animatedReproduction Steps
a
such asanemoji
emoji_name:emoji_id
, a listed valid representation forPartialEmoji.from_str
.PartialEmoji.from_str("anemoji:12345678910111213")
Minimal Reproducible Code
Expected Results
I expected following a valid format for
PartialEmoji.from_str
to return a valid representation of the emoji.Actual Results
Emojis with names starting with
a
are incorrectly assumed to be animated despite missing the animated separator.Intents
all
System Information
Checklist
Additional Context
No response
The text was updated successfully, but these errors were encountered: