v5.0.0
$textTrim
Removes useless spaces from given text.
This function removes all useless spaces (multiple spaces in a row) from the given text, so all the spaces be replaced with one space.
Raw usage: $textTrim[text]

Example Command:

If you use the example below, the bot would return Hello, how are you?
1
bot.command({
2
name: "trim",
3
code: `
4
$textTrim[ Hello, how are you?]
5
`
6
})
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub