Functionalities
Other
$charCase
Returns `lower` if the character is lowercase. Returns `upper` if the character is uppercase. Returns `symbol` if the character is a symbol or letter. The content must be one character!

FUNCTION USAGE

  • $charCase[character]

Properties:

character - The text must be one character.

Example 1: Returns lower.

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

Example 2: Returns upper.

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

Example 3: Returns symbol for both below.

1
bot.Command({
2
name: "check",
3
code: `
4
$charCase[7]
5
$charCase[&]
6
`
7
})
Copied!
Last modified 9mo ago
Copy link
Contents
Properties: