Closed avurro closed 3 years ago
That's not how you use custom emojis, the correct mention will always be <:name:id>
for static emotes and <:a:name:id>
for animated emotes (this is a Discord thing, not a library's).
EDIT: in the case of the library, you must pass only the ID of the emote, omitting the name.
from javadoc:
Using format that you suggest i get the following error:
java.lang.NumberFormatException: The specified ID is not a valid snowflake
Found the issue, it was previously only checking for emote names regardless of type, now it'll check for either name or ID depending on whether it's an emoji or Emote.
Please update to version 2.1.2.
Result:![image](https://user-images.githubusercontent.com/2487392/107122738-ca678900-6899-11eb-91c6-7d75cc758f62.png)
With default emoji it works.