Constructor DiscordApplicationCommandAutocompleteChoice
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
DiscordApplicationCommandAutocompleteChoice(string, object, DiscordApplicationCommandLocalization)
Creates a new instance of DiscordApplicationCommandAutocompleteChoice.
public DiscordApplicationCommandAutocompleteChoice(string name, object value, DiscordApplicationCommandLocalization nameLocalizations = null)
Parameters
namestringThe name of this option, which will be presented to the user.
valueobjectThe value of this option.
nameLocalizationsDiscordApplicationCommandLocalizationThe localizations of the option name.