Use enumList for /fuzzy
This commit is contained in:
parent
c4aed23cf7
commit
4895b6def8
|
@ -977,7 +977,7 @@ export function initDefaultSlashCommands() {
|
|||
isRequired: false,
|
||||
defaultValue: 'first',
|
||||
acceptsMultiple: false,
|
||||
enumProvider: () => [
|
||||
enumList: [
|
||||
new SlashCommandEnumValue('first', 'first match below the threshold', enumTypes.enum, enumIcons.default),
|
||||
new SlashCommandEnumValue('best', 'best match below the threshold', enumTypes.enum, enumIcons.default),
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue