Remove forceEnum from char args in slash commands - This precented people from actually using the characterKey inside the chatbox to go to a character
| @@ -2178,7 +2178,6 @@ function migrateSettings() { | ||
| 2178 | 2178 | typeList: [ARGUMENT_TYPE.STRING], |
| 2179 | 2179 | isRequired: true, |
| 2180 | 2180 | enumProvider: commonEnumProviders.characters('character'), |
| 2181 | - forceEnum: true, | |
| 2182 | 2181 | }), |
| 2183 | 2182 | ], |
| 2184 | 2183 | helpString: 'Returns the last set sprite / expression for the named character.', |
| @@ -441,7 +441,6 @@ SlashCommandParser.addCommandObject(SlashCommand.fromProps({ | ||
| 441 | 441 | description: 'character name', |
| 442 | 442 | typeList: [ARGUMENT_TYPE.STRING], |
| 443 | 443 | enumProvider: commonEnumProviders.characters('character'), |
| 444 | - forceEnum: true, | |
| 445 | 444 | }), |
| 446 | 445 | SlashCommandNamedArgument.fromProps({ |
| 447 | 446 | name: 'group', |
| @@ -235,7 +235,6 @@ export function initDefaultSlashCommands() { | ||
| 235 | 235 | description: 'Character name - or unique character identifier (avatar key)', |
| 236 | 236 | typeList: [ARGUMENT_TYPE.STRING], |
| 237 | 237 | enumProvider: commonEnumProviders.characters('character'), |
| 238 | - forceEnum: false, | |
| 239 | 238 | }), |
| 240 | 239 | ], |
| 241 | 240 | helpString: ` |
| @@ -274,7 +273,6 @@ export function initDefaultSlashCommands() { | ||
| 274 | 273 | typeList: [ARGUMENT_TYPE.STRING], |
| 275 | 274 | isRequired: true, |
| 276 | 275 | enumProvider: commonEnumProviders.characters('character'), |
| 277 | - forceEnum: false, | |
| 278 | 276 | }), |
| 279 | 277 | SlashCommandNamedArgument.fromProps({ |
| 280 | 278 | name: 'avatar', |
| @@ -518,7 +516,6 @@ export function initDefaultSlashCommands() { | ||
| 518 | 516 | typeList: [ARGUMENT_TYPE.STRING], |
| 519 | 517 | isRequired: true, |
| 520 | 518 | enumProvider: commonEnumProviders.characters('all'), |
| 521 | - forceEnum: true, | |
| 522 | 519 | }), |
| 523 | 520 | ], |
| 524 | 521 | helpString: 'Opens up a chat with the character or group by its name', |
| @@ -1061,7 +1058,6 @@ export function initDefaultSlashCommands() { | ||
| 1061 | 1058 | typeList: [ARGUMENT_TYPE.STRING], |
| 1062 | 1059 | defaultValue: 'System', |
| 1063 | 1060 | enumProvider: () => [...commonEnumProviders.characters('character')(), new SlashCommandEnumValue('System', null, enumTypes.enum, enumIcons.assistant)], |
| 1064 | - forceEnum: false, | |
| 1065 | 1061 | }), |
| 1066 | 1062 | new SlashCommandNamedArgument( |
| 1067 | 1063 | 'length', 'API response length in tokens', [ARGUMENT_TYPE.NUMBER], false, |