$filter
Removes are phrases matching the provided 'queries' within 'text'.
Usage
$filter[text;queries;...]Param
Description
Type
Required
Examples
bot.commands.add({
type: "basicCommand",
name: "example",
code: `$filter[Hello World!;Hello]` //Returns "World!"
})bot.commands.add({
type: "basicCommand",
name: "example",
code: `$filter[hi, how are you?;hi, ]` //Returns "how are you?"
})Last updated
Was this helpful?