Use enumList for /fuzzy
This commit is contained in:
parent
c4aed23cf7
commit
4895b6def8
|
@ -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),
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue