Skip to content

$customEmoji

$customEmoji will return a custom emoji.

Usage

$customEmoji[emojiResolver;guildID?]

Parameters

FieldTypeDescriptionRequired
emojiResolverstringEmoji name or ID.true
guildID?string, numberWhere the emoji is from.
1. global
2. guildID - replace with guild ID
false

Example(s)

This send a custom emoji of your choice, replace emojiResolver with an actual emoji name or ID:

Tries to search for the emoji in all guilds the bot is in:

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

Tries to return the emoji of the given guild:

1
client.command({
2
name: "customEmoji",
3
code: `
4
$customEmoji[emojiResolver;specific guild ID]
5
`
6
});