Functionalities
Other
$customEmojis
Extracts and returns all the custom emojis from the message or arguments (if any). Does not work with default emojis.

FUNCTION USAGE

  • $customEmojis
  • $customEmojis[content]

Properties:

content - The content to sift through.

Example 1: Returns all custom emojis from the command line arguments or sentence.

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

Example 2: Returns all custom emojis from the message content.

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