Skip to main content

DiscordInteractionDataOption

@discordeno/botDocs


Documentation / @discordeno/bot / DiscordInteractionDataOption

Interface: DiscordInteractionDataOption

Properties

focused?

optional focused: boolean

true if this option is the currently focused option for autocomplete

Defined in

packages/types/dist/types/discord.d.ts:1907


name

name: string

Name of the parameter

Defined in

packages/types/dist/types/discord.d.ts:1899


options?

optional options: DiscordInteractionDataOption[]

Present if this option is a group or subcommand

Defined in

packages/types/dist/types/discord.d.ts:1905


type

type: ApplicationCommandOptionTypes

Value of application command option type

Defined in

packages/types/dist/types/discord.d.ts:1901


value?

optional value: string | number | boolean

Value of the option resulting from user input

Defined in

packages/types/dist/types/discord.d.ts:1903