discord-api-docs
discord-api-docs copied to clipboard
Slash commands on mobile no longer calculate proper min/max length with emojis in options
Description
When entering an emoji into an option on mobile, it only calculates the length of the name of the emoji, not the full formatted emoji.
Steps to Reproduce
- Create a text option with a min length set to 23 characters (the minimum possible for a custom emoji with ID).
- Observe that the option works fine on desktop and web
- Observe that the option does not work on mobile
Expected Behavior
The emoji should calculate into the length of input before sending the command.
Current Behavior
The emoji only counts as plain text up until the command is sent (after length is validated).
Screenshots/Videos
Client and System Information
Discord for Android, Discord for iOS