Functionalities
Other
$returnEmoji
Returns the actual emoji from an emoji name or ID.

FUNCTION USAGE

  • $returnEmoji[name/ID]
  • $returnEmoji[name/ID;guildID]

Properties: Choose/use 1

name/ID - The name or ID of the emoji to return. guildID - The ID of the guild to return the emoji from.
Bot must be in the guild and have access to the emoji to return the data.

Example 1: Using the name of an emoji in the current server (cannot use name to get emoji from outside the server).

1
bot.Command({
2
name: "emoji",
3
code: `
4
$returnEmoji[booster]
5
`
6
})
Copied!

Example 2: Using the emoji ID from the current server or a server the bot is in.

1
bot.Command({
2
name: "emoji",
3
code: `
4
$returnEmoji[765265774948384819]
5
`
6
})
Copied!
Last modified 6mo ago
Copy link