Skip to content

$removeContains

$removeContains will remove specific word(s) from a given text.

Usage

$removeContains[content;...words]

Parameters

FieldTypeDescriptionRequired
contentstringText where to remove the words from.true
…wordsstringWord(s) to remove from the text.true

Example(s)

This will remove the word “aoi.js” from the given text:

1
client.command({
2
name: "removeContains",
3
code: `
4
$removeContains[Hello, aoi.js!;, ;aoi.js]
5
`
6
});