remove name from unnamed arg

This commit is contained in:
LenAnderson
2024-04-23 10:40:04 -04:00
parent d4b8094038
commit 226e14094c
2 changed files with 2 additions and 2 deletions

View File

@ -773,7 +773,7 @@ export function registerVariableCommands() {
'else', 'command to execute if not true', [ARGUMENT_TYPE.CLOSURE, ARGUMENT_TYPE.SUBCOMMAND], false,
));
ifCmd.unnamedArgumentList.push(new SlashCommandArgument(
'then', 'command to execute if true', [ARGUMENT_TYPE.CLOSURE, ARGUMENT_TYPE.SUBCOMMAND], true,
'command to execute if true', [ARGUMENT_TYPE.CLOSURE, ARGUMENT_TYPE.SUBCOMMAND], true,
));
ifCmd.returns = 'result of the executed command ("then" or "else")';
ifCmd.helpString = `