$customEmoji
$customEmoji
will return a custom emoji.
Usage
$customEmoji[emojiResolver;guildID?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
emojiResolver | string | Emoji name or ID. | true |
guildID? | string, number | Where 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:
1client.command({2 name: "customEmoji",3 code: `4 $customEmoji[emojiResolver;global]5 `6});
Tries to return the emoji of the given guild:
1client.command({2 name: "customEmoji",3 code: `4 $customEmoji[emojiResolver;specific guild ID]5 `6});