ApplicationCommandChoicesBuilder

Inherits: ApplicationCommandOptionBuilder < Reference < Object

Inherited By: ApplicationCommandIntegerOption, ApplicationCommandNumberOption, ApplicationCommandStringOption

Description

Abstract builder for application command option choices.

Properties

type name
Array choices
bool autocomplete

Methods

return type signature
ApplicationCommandChoicesBuilder set_autocomplete ( bool value )

Property Descriptions

  • Array choices

    List of choices stored in Dictionary containing name, value and name_localizations as keys.


  • bool autocomplete

    Whether autocomplete is enabled on this option.

Method Descriptions