Nostrum.Struct.ApplicationCommandInteractionData (Nostrum v0.4.6) View Source
Struct for interaction data.
Link to this section Summary
Link to this section Types
Specs
id() :: Nostrum.Snowflake.t()
ID of the invoked command
Specs
name() :: String.t()
Name of the invoked command
Specs
options() :: Nostrum.Struct.ApplicationCommandInteractionDataOption.t() | nil
Parameters and values supplied by the user, if applicable
Specs
t() :: %Nostrum.Struct.ApplicationCommandInteractionData{ id: id(), name: name(), options: options() }
Command interaction data for slash commands.
Used as part of Nostrum.Struct.Interaction.t/0
.
Official reference: https://discord.com/developers/docs/interactions/slash-commands#interaction-applicationcommandinteractiondata