Interface IApplicationCommandOptionChoice
- Namespace
- Discord
- Assembly
- Discord.Net.Core.dll
Specifies choices for command group.
public interface IApplicationCommandOptionChoice
Properties
Name
Gets the choice name.
string Name { get; }
Property Value
NameLocalizations
Gets the localization dictionary for the name field of this command option.
IReadOnlyDictionary<string, string> NameLocalizations { get; }
Property Value
NameLocalized
Gets the localized name of this command option.
string NameLocalized { get; }
Property Value
Remarks
Only returned when the withLocalizations
query parameter is set to false when requesting the command.
Value
Gets the value of the choice.
object Value { get; }