mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-11 01:20:12 +01:00
Revert bad reformat
This commit is contained in:
parent
3746f08590
commit
9558e14081
@ -1278,16 +1278,16 @@ export function registerVariableCommands() {
|
|||||||
}),
|
}),
|
||||||
new SlashCommandNamedArgument(
|
new SlashCommandNamedArgument(
|
||||||
'rule', 'comparison rule', [ARGUMENT_TYPE.STRING], true, false, null, [
|
'rule', 'comparison rule', [ARGUMENT_TYPE.STRING], true, false, null, [
|
||||||
new SlashCommandEnumValue('gt', 'a > b'),
|
new SlashCommandEnumValue('gt', 'a > b'),
|
||||||
new SlashCommandEnumValue('gte', 'a >= b'),
|
new SlashCommandEnumValue('gte', 'a >= b'),
|
||||||
new SlashCommandEnumValue('lt', 'a < b'),
|
new SlashCommandEnumValue('lt', 'a < b'),
|
||||||
new SlashCommandEnumValue('lte', 'a <= b'),
|
new SlashCommandEnumValue('lte', 'a <= b'),
|
||||||
new SlashCommandEnumValue('eq', 'a == b'),
|
new SlashCommandEnumValue('eq', 'a == b'),
|
||||||
new SlashCommandEnumValue('neq', 'a !== b'),
|
new SlashCommandEnumValue('neq', 'a !== b'),
|
||||||
new SlashCommandEnumValue('not', '!a'),
|
new SlashCommandEnumValue('not', '!a'),
|
||||||
new SlashCommandEnumValue('in', 'a includes b'),
|
new SlashCommandEnumValue('in', 'a includes b'),
|
||||||
new SlashCommandEnumValue('nin', 'a not includes b'),
|
new SlashCommandEnumValue('nin', 'a not includes b'),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
new SlashCommandNamedArgument(
|
new SlashCommandNamedArgument(
|
||||||
'else', 'command to execute if not true', [ARGUMENT_TYPE.CLOSURE, ARGUMENT_TYPE.SUBCOMMAND], false,
|
'else', 'command to execute if not true', [ARGUMENT_TYPE.CLOSURE, ARGUMENT_TYPE.SUBCOMMAND], false,
|
||||||
@ -1356,16 +1356,16 @@ export function registerVariableCommands() {
|
|||||||
}),
|
}),
|
||||||
new SlashCommandNamedArgument(
|
new SlashCommandNamedArgument(
|
||||||
'rule', 'comparison rule', [ARGUMENT_TYPE.STRING], true, false, null, [
|
'rule', 'comparison rule', [ARGUMENT_TYPE.STRING], true, false, null, [
|
||||||
new SlashCommandEnumValue('gt', 'a > b'),
|
new SlashCommandEnumValue('gt', 'a > b'),
|
||||||
new SlashCommandEnumValue('gte', 'a >= b'),
|
new SlashCommandEnumValue('gte', 'a >= b'),
|
||||||
new SlashCommandEnumValue('lt', 'a < b'),
|
new SlashCommandEnumValue('lt', 'a < b'),
|
||||||
new SlashCommandEnumValue('lte', 'a <= b'),
|
new SlashCommandEnumValue('lte', 'a <= b'),
|
||||||
new SlashCommandEnumValue('eq', 'a == b'),
|
new SlashCommandEnumValue('eq', 'a == b'),
|
||||||
new SlashCommandEnumValue('neq', 'a !== b'),
|
new SlashCommandEnumValue('neq', 'a !== b'),
|
||||||
new SlashCommandEnumValue('not', '!a'),
|
new SlashCommandEnumValue('not', '!a'),
|
||||||
new SlashCommandEnumValue('in', 'a includes b'),
|
new SlashCommandEnumValue('in', 'a includes b'),
|
||||||
new SlashCommandEnumValue('nin', 'a not includes b'),
|
new SlashCommandEnumValue('nin', 'a not includes b'),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
new SlashCommandNamedArgument(
|
new SlashCommandNamedArgument(
|
||||||
'guard', 'disable loop iteration limit', [ARGUMENT_TYPE.STRING], false, false, null, commonEnumProviders.boolean('onOff')(),
|
'guard', 'disable loop iteration limit', [ARGUMENT_TYPE.STRING], false, false, null, commonEnumProviders.boolean('onOff')(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user