/stop-strings: update help

bab8a09a80d34b41f7da32f9c5e29ef01607e5e1

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +12 -1Showing whitespace changes
public/scripts/power-user.js+12 -1
@@ -4075,7 +4075,18 @@ $(document).ready(() => {
40754075 SlashCommandParser.addCommandObject(SlashCommand.fromProps({
40764076 name: 'stop-strings',
40774077 aliases: ['stopping-strings'],
4078- helpString: 'Sets a list of custom stopping strings. Gets the list if no value is provided.',
4078+ helpString: `
4079+ <div>
4080+ Sets a list of custom stopping strings. Gets the list if no value is provided.
4081+ </div>
4082+ <div>
4083+ <strong>Examples:</strong>
4084+ </div>
4085+ <ul>
4086+ <li>Value must be a JSON-serialized array: <pre><code class="language-stscript">/stop-strings ["goodbye", "farewell"]</code></pre></li>
4087+ <li>Pipe characters must be escaped with a backslash: <pre><code class="language-stscript">/stop-strings ["left\\|right"]</code></pre></li>
4088+ </ul>
4089+ `,
40794090 returns: ARGUMENT_TYPE.LIST,
40804091 unnamedArgumentList: [
40814092 SlashCommandArgument.fromProps({