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

FUNCTION USAGE

  • $defaultEmojis
  • $defaultEmojis[content]

Properties:

content - The content to sift through.

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

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

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

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