Enum ApplicationCommandOptionType
The option type of the Slash command parameter, See the discord docs.
Assembly: Discord.Net.Core.dll​
View Source​
Declaration
public enum ApplicationCommandOptionType : byte
Fields​
SubCommand​
A sub command.
View Source​
Declaration
SubCommand = 1
SubCommandGroup​
A group of sub commands.
View Source​
Declaration
SubCommandGroup = 2
String​
A string
of text.
View Source​
Declaration
String = 3
Integer​
An int
.
View Source​
Declaration
Integer = 4
Boolean​
A bool
.
View Source​
Declaration
Boolean = 5
User​
View Source​
Declaration
User = 6
Channel​
View Source​
Declaration
Channel = 7
Role​
View Source​
Declaration
Role = 8
Mentionable​
A Discord.IUser or Discord.IRole.
View Source​
Declaration
Mentionable = 9
Number​
A System.Double
.
View Source​
Declaration
Number = 10