Functionalities
Other
$typeOfChar
Returns the type of character in the function. Must be only 1 character!

FUNCTION USAGE

  • $typeOfChar[character]

Properties:

character - Define a character to check for.

Outputs:

  • letter
  • number
  • symbol

Example 1: Returns letter.

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

Example 2: Returns number.

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

Example 3: Returns symbol.

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