Closed rachied closed 4 years ago
As per the documentation for addChoices(String...)
:
Adds String unicode emojis as button choices. Any non-unicode Emotes should be added using ButtonMenu.Builder#addChoices(Emote...).
Your call to addChoices
does not appear to be a string unicode emoji.
You're right, works fine when providing Emote objects.
Issue
Issue Checklist
Please follow the following steps before opening this issue.
Issues that do not complete the checklist may be closed without any help.
Issue Information
Check all that apply:
Description
Describe your issue here.
Please provide any stack-traces, code, or pictures that will help describe the issue you are encountering.
When creating a ButtonMenu using Emotes, the event consumer in setAction is never called.