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