Method AddAutoCompleteChoice
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
AddAutoCompleteChoice(DiscordApplicationCommandAutocompleteChoice)
Adds a single auto-complete choice to the builder.
public DiscordInteractionResponseBuilder AddAutoCompleteChoice(DiscordApplicationCommandAutocompleteChoice choice)
Parameters
choice
DiscordApplicationCommandAutocompleteChoiceThe choice to add.
Returns
- DiscordInteractionResponseBuilder
The current builder to chain calls with.