Skip to content
This repository was archived by the owner on Apr 20, 2022. It is now read-only.

Emoji.Parse should handle emojis without a variation selection #372

Open
d4n3436 opened this issue Dec 13, 2021 · 0 comments
Open

Emoji.Parse should handle emojis without a variation selection #372

d4n3436 opened this issue Dec 13, 2021 · 0 comments
Labels
Bug Something isn't working Internal Somthing internal that needs to be changed

Comments

@d4n3436
Copy link
Contributor

d4n3436 commented Dec 13, 2021

Parsing an emoji without a variation selection ('\ufe0f') causes Emoji.Parse and Emoji.TryParse to fail because it expects the emoji string to contain a variation selection.
This character is used to specify the type of rendering and Discord requires it in some emojis.

Emoji.Parse/TryParse should handle emoji strings without this character, and should add this character if it's required.

@MrCakeSlayer MrCakeSlayer added Bug Something isn't working Internal Somthing internal that needs to be changed labels Dec 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something isn't working Internal Somthing internal that needs to be changed
Projects
None yet
Development

No branches or pull requests

2 participants