From 490b2004b74b5b5cb946292bcce5b013a6594a37 Mon Sep 17 00:00:00 2001 From: LenAnderson Date: Thu, 4 Jul 2024 16:52:58 -0400 Subject: [PATCH] update /break help --- public/scripts/slash-commands/SlashCommandParser.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/public/scripts/slash-commands/SlashCommandParser.js b/public/scripts/slash-commands/SlashCommandParser.js index a75899d24..06bffd642 100644 --- a/public/scripts/slash-commands/SlashCommandParser.js +++ b/public/scripts/slash-commands/SlashCommandParser.js @@ -179,7 +179,12 @@ export class SlashCommandParser { } if (!Object.keys(this.commands).includes('break')) { SlashCommandParser.addCommandObjectUnsafe(SlashCommand.fromProps({ name: 'break', - helpString: 'Break out of a loop.', + helpString: 'Break out of a loop or closure executed through /run or /:', + unnamedArgumentList: [ + SlashCommandArgument.fromProps({ description: 'value to pass down the pipe instead of the current pipe value', + typeList: Object.values(ARGUMENT_TYPE), + }), + ], })); }