v5.0.0
$customEmoji
Returns a Custom Emoji, from all Guilds.
This function returns a custom emoji from any guild as long as the bot is in the guild

Fields

This function has 2 fields
  1. 1.
    Emoji Name (Required)
  2. 2.
    GuildID (Optional)
Raw Usage: $customEmoji[emoji name;$guildID (optional)]

Options

  • Emoji Name - The emoji the bot will return
  • GuildID - the guild the emoji should be searched from

Example Usage:

Without optional guildID field:
1
bot.command({
2
name: "emoji",
3
code: `
4
$customEmoji[logo]
5
`
6
})
Copied!
With optional guildID field:
1
bot.command({
2
name: "emoji",
3
code: `
4
$customEmoji[logo;773352845738115102]
5
`
6
})
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub