asUnicodeEmoji

Converts the provided Emoji into a JDA UnicodeEmoji.

I highly recommend using the emojis in-place, not putting them in constants/fields, so that they are loaded only when used.

Note: If you use the emoji constants, you can instead use the constants from Emojis or UnicodeEmojis.

Return

Emoji as a JDA UnicodeEmoji

Parameters

emoji

The Emoji to convert