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
name
stringThe name of this option, which will be presented to the user.
value
objectThe value of this option.
nameLocalizations
DiscordApplicationCommandLocalizationThe localizations of the option name.