$removeTextSplitElement
$removeTextSplitElement will remove a specific text split element.
Usage
$removeTextSplitElement[element]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| element | string | Text split element to remove. | true |
Example(s)
This will remove the word “bye” from the array:
1client.command({2 name: "removeTextSplitElement",3 code: `4 $removeTextSplitElement[bye]5 $textSplit[hello, bye, aoi.js;, ]6 `7});