Enum DiscordApplicationCommandOptionType
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
Represents the type of parameter when invoking an interaction.
public enum DiscordApplicationCommandOptionType
- Extension Methods
Fields
Attachment = 11Whether this parameter is a Discord attachment.
Boolean = 5Whether this parameter is a boolean.
Channel = 7Whether this parameter is a Discord channel.
Integer = 4Whether this parameter is an integer.
Mentionable = 9Whether this parameter is a mentionable (role or user).
Number = 10Whether this parameter is a double.
Role = 8Whether this parameter is a Discord role.
String = 3Whether this parameter is a string.
SubCommand = 1Whether this parameter is another subcommand.
SubCommandGroup = 2Whether this parameter is apart of a subcommand group.
User = 6Whether this parameter is a Discord user.