mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Use enumList for /fuzzy
This commit is contained in:
@ -977,7 +977,7 @@ export function initDefaultSlashCommands() {
|
|||||||
isRequired: false,
|
isRequired: false,
|
||||||
defaultValue: 'first',
|
defaultValue: 'first',
|
||||||
acceptsMultiple: false,
|
acceptsMultiple: false,
|
||||||
enumProvider: () => [
|
enumList: [
|
||||||
new SlashCommandEnumValue('first', 'first match below the threshold', enumTypes.enum, enumIcons.default),
|
new SlashCommandEnumValue('first', 'first match below the threshold', enumTypes.enum, enumIcons.default),
|
||||||
new SlashCommandEnumValue('best', 'best match below the threshold', enumTypes.enum, enumIcons.default),
|
new SlashCommandEnumValue('best', 'best match below the threshold', enumTypes.enum, enumIcons.default),
|
||||||
],
|
],
|
||||||
|
Reference in New Issue
Block a user