Skip to content

$isUnicodeEmoji

$isUnicodeEmoji will check if the given emoji is an unicode emoji.

Usage

$isUnicodeEmoji[emojiResolver]

Parameters

FieldTypeDescriptionRequired
emojiResolverstringUnicode emoji.true

Example(s)

This will return true as ”🤓” is an valid unicode emoji:

1
client.command({
2
name: "isUnicodeEmoji",
3
code: `
4
$isUnicodeEmoji[🤓]
5
`
6
});