Skip to content

AutocompleteFocusedOption

AutocompleteFocusedOption = object

Defined in: resolvers/CommandOptionResolver.ts:16

The currently-focused option during an autocomplete request, as returned by getFocused.

focused: boolean

Defined in: resolvers/CommandOptionResolver.ts:32

Whether the option is focused.


name: string

Defined in: resolvers/CommandOptionResolver.ts:20

The name of the option.


type: ApplicationCommandOptionType

Defined in: resolvers/CommandOptionResolver.ts:24

The type of the application command option.


value: string

Defined in: resolvers/CommandOptionResolver.ts:28

The value of the option.