The raw components from Discord.
Get a channel select option.
The name of the option.
Optional required: falseIf true, an error will be thrown if the option is not present.
Get the values of a channel select option. This always returns an array, since selects can be multi-choice.
The name of the option.
Optional required: falseIf true, an error will be thrown if the option is not present.
Get the components in this interaction.
Get a file upload option.
The name of the option.
Optional required: falseIf true, an error will be thrown if the option is not present.
Get the values of a file upload option.
The name of the option.
Optional required: falseIf true, an error will be thrown if the option is not present.
Get a mentionable select option.
The name of the option.
Optional required: falseIf true, an error will be thrown if the option is not present.
Get the values of a mentionable select option. This always returns an array, since selects can be multi-choice.
The name of the option.
Optional required: falseIf true, an error will be thrown if the option is not present.
Get a role select option.
The name of the option.
Optional required: falseIf true, an error will be thrown if the option is not present.
Get the values of a role select option. This always returns an array, since selects can be multi-choice.
The name of the option.
Optional required: falseIf true, an error will be thrown if the option is not present.
Get a string select option.
The name of the option.
Optional required: falseIf true, an error will be thrown if the option is not present.
Get the values of a string select option. This always returns an array, since selects can be multi-choice.
The name of the option.
Optional required: falseIf true, an error will be thrown if the option is not present.
Get a text input option value.
The name of the option.
Optional required: falseIf true, an error will be thrown if the option is not present.
Get a text input option.
The name of the option.
Optional required: falseIf true, an error will be thrown if the option is not present.
Get a user select option.
The name of the option.
Optional required: falseIf true, an error will be thrown if the option is not present.
Get the values of a user select option. This always returns an array, since selects can be multi-choice.
The name of the option.
Optional required: falseIf true, an error will be thrown if the option is not present.
A wrapper for interaction components.