getPredefinedChoices

Returns a constant list of choices for this slash parameter resolver.

This will be applied to all command parameters of this type, but can still be overridden if there are choices set in ApplicationCommand.getOptionChoices.

This could be useful for, say, an enum resolver, or anything where the choices do not change between commands.

Note: This requires enabling SlashOption.usePredefinedChoices (annotation-declared) / SlashCommandOptionBuilder.usePredefinedChoices (DSL-declared).