$containsEmoji
Returns `true` if the content contains a system emoji. Otherwise, bot will return `false`.

FUNCTION USAGE

  • $containsEmoji[content]

Property:

content - The content the function will search through.

Example 1: Returns true if the content contains a default emoji.

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

Example 2: Returns true since these are default emojis.

1
bot.Command({
2
name: "test",
3
code: `
4
$containsEmoji[It's good to see you 😀]
5
`
6
})
Copied!
Last modified 5mo ago
Copy link
Contents
Property: