Class ApplicationCommandOptionChoiceProperties
Represents a choice for a Discord.IApplicationCommandInteractionDataOption. This class is used when making new commands.
Assembly: Discord.Net.Core.dll​
View Source​
Declaration
public class ApplicationCommandOptionChoiceProperties
Properties​
Name​
Gets or sets the name of this choice.
View Source​
Declaration
public string Name { get; set; }
Value​
Gets the value of this choice. <div class="WARNING"><h5>warning</h5><p> Discord only accepts int, double/floats, and string as the input. </p></div>
View Source​
Declaration
public object Value { get; set; }