Functionalities
Other
Powered By GitBook
$findEmoji
Returns the emoji ID of any custom emoji from any guild the bot is in by simply typing the name or ID of the emoji. Not case sensitive.
Function name changed from $findEmote as of update 3.0.0!

FUNCTION USAGE

    $findEmoji[emojiName/ID]
    $findEmoji[emojiName/ID;emoij]
    $findEmoji[emojiName/ID;name]

Properties:

name/ID - Define an emoji by its name to return its ID. Can be name or ID. emoji - Type the word emoji to have the bot return the emoji instead of returning the ID. name - Type the word name to have the bot return the emoji name instead of returning the ID.

Example 1: Type a valid emoji name or ID, if the emoji is invalid the bot will return undefined.

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

Example 2: Type the word emoji in the 2nd field to return the actual emoji.

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

Example 3: Type the word name in the 2nd field to return the emoji name.

1
bot.Command({
2
name: "test",
3
code: `
4
$findEmoji[$message[];name]
5
`
6
})
Copied!
Last modified 3mo ago
Copy link
Contents
Properties: