update /break help

This commit is contained in:
LenAnderson 2024-07-04 16:52:58 -04:00
parent c47db9e729
commit 490b2004b7
1 changed files with 6 additions and 1 deletions

View File

@ -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),
}),
],
}));
}