DiscordInteractionDataOption
Documentation / @discordeno/bot / DiscordInteractionDataOption
Interface: DiscordInteractionDataOption
Defined in: packages/types/dist/types/discord.d.ts:1900
Properties
focused?
optional
focused:boolean
Defined in: packages/types/dist/types/discord.d.ts:1910
true
if this option is the currently focused option for autocomplete
name
name:
string
Defined in: packages/types/dist/types/discord.d.ts:1902
Name of the parameter
options?
optional
options:DiscordInteractionDataOption
[]
Defined in: packages/types/dist/types/discord.d.ts:1908
Present if this option is a group or subcommand
type
Defined in: packages/types/dist/types/discord.d.ts:1904
Value of application command option type
value?
optional
value:string
|number
|boolean
Defined in: packages/types/dist/types/discord.d.ts:1906
Value of the option resulting from user input