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 User2y ago
Message Not Public
Sign In & Join Server To View
amy
amy2y ago
resolved, had extra spaces in the string