Using unicode emojis in buttons.

When attempting to use a unicode emoji in a button (using :name: format and the raw emoji), the API returns
"message": "Invalid Form Body\ncomponents[0].components[0].emoji.name[BUTTON_COMPONENT_INVALID_EMOJI]: Invalid emoji\ncomponents[0].components[1].emoji.name[BUTTON_COMPONENT_INVALID_EMOJI]: Invalid emoji\ncomponents[0].components[2].emoji.name[BUTTON_COMPONENT_INVALID_EMOJI]: Invalid emoji"
"message": "Invalid Form Body\ncomponents[0].components[0].emoji.name[BUTTON_COMPONENT_INVALID_EMOJI]: Invalid emoji\ncomponents[0].components[1].emoji.name[BUTTON_COMPONENT_INVALID_EMOJI]: Invalid emoji\ncomponents[0].components[2].emoji.name[BUTTON_COMPONENT_INVALID_EMOJI]: Invalid emoji"
2 Replies
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
amy
amyOP3y ago
resolved, had extra spaces in the string
Want results from more Discord servers?
Add your server