Nostrum.Struct.ApplicationCommandInteractionDataOption (Nostrum v0.4.6) View Source
Struct for command invocation arguments.
Link to this section Summary
Link to this section Types
Specs
name() :: String.t()
Parameter name
Specs
options() :: [t()] | nil
Parameter options for subcommands.
Mutually exclusive with value
.
Specs
t() :: %Nostrum.Struct.ApplicationCommandInteractionDataOption{ name: name(), options: options(), value: value() }
Command interaction data struct
Specs
value() :: String.t() | nil
Parameter value.
Mutually exclusive with options
.