$makeReturn

Removes excess/useless spaces from the provided text.

Usage

$makeReturn[text]

This function has one param.

ParamDescriptionTypeRequired

text

The text to remove excess spacing from.

String

Yes

Example

bot.commands.add({
    type: "basicCommand",
    name: "example",
    code: `$makeReturn[a   b   c]` //Returns "a b c"
})

Last updated