Constructor ChoiceAttribute
- Namespace
- DisCatSharp.ApplicationCommands.Attributes
- Assembly
- DisCatSharp.ApplicationCommands.dll
ChoiceAttribute(string, string)
Adds a choice to the slash command option
public ChoiceAttribute(string name, string value)
Parameters
ChoiceAttribute(string, long)
Adds a choice to the slash command option
public ChoiceAttribute(string name, long value)
Parameters
ChoiceAttribute(string, int)
Adds a choice to the slash command option
public ChoiceAttribute(string name, int value)
Parameters
ChoiceAttribute(string, double)
Adds a choice to the slash command option
public ChoiceAttribute(string name, double value)