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