$getTextSplitLength

Returns the number of splits in $textSplit.

Usage

$getTextSplitLength

Example

bot.command({
    type: "command",
    name: "example",
    code: `$textSplit[hi | hello | hey;|]
    $getTextSplitLength`
    // Returns 3
})

Last updated

Was this helpful?