Select Menus "Invalid Emoji" when encountering Variation Selector-16 #5511
Unanswered
NickantX
asked this question in
API Feature Requests & Ideas
Replies: 1 comment
-
Discord also handles variation selectors (15/16) very poorly in general >.> They break in nicknames and sent messages all the time :/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The Discord API returns a 400 Invalid Emoji response if the Variation Selector-16 (U+65039) character is included within
name
when using a unicode emoji with message components. It took me quite a while to figure out the cause of this error. I'm going to work around this issue by simply ensuring this character is stripped from future API requests, but it was still kind of difficult to figure out what was going on. This issue happened to me with the hourglass (⌛) emoji as entered by a user. Upon further testing I was able to confirm that using the system emoji picker inserts this invisible character after the emoji. Considering this character itself is part of the emoji charset (it is used to denote that the previous character should be presented as an emoji), it seems a little bit strange to me that the Discord API throws an error if it is received.Beta Was this translation helpful? Give feedback.
All reactions