Remedy.Struct.ApplicationCommandInteractionDataOption (Remedy v0.5.2) 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() :: %Remedy.Struct.ApplicationCommandInteractionDataOption{ name: name(), options: options(), type: type(), value: value() }
Command interaction data struct
Specs
type() :: 1..9
The application command option type.
See https://discord.com/developers/docs/interactions/slash-commands#application-command-object-application-command-option-type for more details.
Specs
value() :: String.t() | nil
Parameter value.
Mutually exclusive with options
.