Use enumList for /fuzzy

This commit is contained in:
Cohee 2024-07-11 21:19:09 +03:00
parent c4aed23cf7
commit 4895b6def8
1 changed files with 1 additions and 1 deletions

View File

@ -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),
],