resolveEmoji

open fun resolveEmoji(input: String): String(source)

Returns the Unicode emoji from a Discord alias (e.g. :joy:).

Note: The input string is case-sensitive!

This will return itself if the input is a valid Unicode emoji.

Return

The Unicode string of this emoji

Parameters

input

An emoji alias or Unicode

See also

Throws

if no emoji alias or Unicode matches