$emojiToID
Returns the ID of the provided custom emoji.

FUNCTION USAGE

  • $emojiToID[emoji]

Property:

emoji - Input a raw custom emoji. Just the emoji itself.
Bot must be in the guild to read that data!

Example:

1
bot.Command({
2
name: "id",
3
code: `
4
Emoji ID - $emojiToID[$message[]]
5
`
6
})
Copied!
Last modified 5mo ago
Copy link