Table of Contents

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

string

NameLocalizations

Gets the localization dictionary for the name field of this command option.

IReadOnlyDictionary<string, string> NameLocalizations { get; }

Property Value

IReadOnlyDictionary<string, string>

NameLocalized

Gets the localized name of this command option.

string NameLocalized { get; }

Property Value

string

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; }

Property Value

object