mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
update /break help
This commit is contained in:
@ -179,7 +179,12 @@ export class SlashCommandParser {
|
|||||||
}
|
}
|
||||||
if (!Object.keys(this.commands).includes('break')) {
|
if (!Object.keys(this.commands).includes('break')) {
|
||||||
SlashCommandParser.addCommandObjectUnsafe(SlashCommand.fromProps({ name: '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),
|
||||||
|
}),
|
||||||
|
],
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user