Interface IDiscordInteractionOption
Assembly: Color-Chan.Discord.Core.dll
Syntax
public interface IDiscordInteractionOption
Properties
|
Improve this Doc
View Source
Name
The name of the parameter.
Declaration
string Name { get; set; }
Property Value
|
Improve this Doc
View Source
SubOptions
Present if this option is a group or subcommand.
Declaration
IEnumerable<IDiscordInteractionOption> SubOptions { get; set; }
Property Value
|
Improve this Doc
View Source
Type
Value of application command option type.
Declaration
DiscordApplicationCommandOptionType Type { get; set; }
Property Value
|
Improve this Doc
View Source
Value
Declaration
object Value { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
GetBoolValue()
Declaration
Returns
|
Improve this Doc
View Source
GetChannelValue()
Declaration
Returns
Type |
Description |
System.UInt64 |
|
|
Improve this Doc
View Source
GetIntValue()
Declaration
Returns
|
Improve this Doc
View Source
GetNumberValue()
Declaration
Returns
|
Improve this Doc
View Source
GetRoleValue()
Declaration
Returns
Type |
Description |
System.UInt64 |
|
|
Improve this Doc
View Source
GetStringValue()
Declaration
Returns
|
Improve this Doc
View Source
GetUserValue()
Declaration
Returns
Type |
Description |
System.UInt64 |
|