Discord.Net-Labs icon indicating copy to clipboard operation
Discord.Net-Labs copied to clipboard

Emoji.Parse should handle emojis without a variation selection

Open d4n3436 opened this issue 2 years ago • 0 comments

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.

d4n3436 avatar Dec 13 '21 18:12 d4n3436