/stop-strings: update help

This commit is contained in:
Cohee
2025-01-28 23:00:28 +02:00
parent fad4e4e75e
commit bab8a09a80

View File

@ -4075,7 +4075,18 @@ $(document).ready(() => {
SlashCommandParser.addCommandObject(SlashCommand.fromProps({
name: 'stop-strings',
aliases: ['stopping-strings'],
helpString: 'Sets a list of custom stopping strings. Gets the list if no value is provided.',
helpString: `
<div>
Sets a list of custom stopping strings. Gets the list if no value is provided.
</div>
<div>
<strong>Examples:</strong>
</div>
<ul>
<li>Value must be a JSON-serialized array: <pre><code class="language-stscript">/stop-strings ["goodbye", "farewell"]</code></pre></li>
<li>Pipe characters must be escaped with a backslash: <pre><code class="language-stscript">/stop-strings ["left\\|right"]</code></pre></li>
</ul>
`,
returns: ARGUMENT_TYPE.LIST,
unnamedArgumentList: [
SlashCommandArgument.fromProps({