Closed avurro closed 3 years ago
Buttonize methods must only receive emoji unicodes or Emote IDs, and in the latest version (2.1.2) I standardized custom Emote usage to use only the ID instead of the mention.
This is because if you ever change your Emote's name, all buttons will stop working, so when using the ID to query for it this risk is removed.
In buttonize method aren't handled custom emoji, as you can see:
In this instruction:
msg.addReaction(Objects.requireNonNull(msg.getJDA().getEmoteById(k))).submit();
You are trying to convert a custom emoji in Emote, failing:msg.getJDA().getEmoteById(k)
Please return the string directly instead, or make a double check: first find the Emote and in second place try it as custom emoji.
msg.addReaction(k).submit();
Paginate method works like this.