Skip to main content

$advancedReplaceText

Allows you to replace multiple coincidences in a string.

Usage

$advancedReplaceText[original text;word1:replacement1,word2:replacement2,etc:etc]

Example

client.command({
name: "replaceText",
code: `
$advancedReplaceText[Hello, amazing community!;amazing:beautiful,community:people]
`
}); // Will return 'Hello, beautiful people!'