Skip to content

$isCustomEmoji

$isCustomEmoji will check if the given emoji is a custom emoji or not.

Usage

$isCustomEmoji[emojiResolver;guildID?]

Parameters

FieldTypeDescriptionRequired
emojiResolverstringEmoji you want to check if it is a custom emoji.true
guildID?numberID of the guild where the emoji was created in.false

Example(s)

This will return true as the emoji emoji is indeed a custom emoji:

1
client.command({
2
name: "isCustomEmoji",
3
code: `
4
$isCustomEmoji[<:LerefMoney:1003365344724910191>;773352845738115102]
5
`
6
});