Table of Contents

Method AddAutoCompleteChoices

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

AddAutoCompleteChoices(IEnumerable<DiscordApplicationCommandAutocompleteChoice>)

Adds auto-complete choices to the builder.

public DiscordInteractionResponseBuilder AddAutoCompleteChoices(IEnumerable<DiscordApplicationCommandAutocompleteChoice> choices)

Parameters

choices IEnumerable<DiscordApplicationCommandAutocompleteChoice>

The choices to add.

Returns

DiscordInteractionResponseBuilder

The current builder to chain calls with.

AddAutoCompleteChoices(params DiscordApplicationCommandAutocompleteChoice[])

Adds auto-complete choices to the builder.

public DiscordInteractionResponseBuilder AddAutoCompleteChoices(params DiscordApplicationCommandAutocompleteChoice[] choices)

Parameters

choices DiscordApplicationCommandAutocompleteChoice[]

The choices to add.

Returns

DiscordInteractionResponseBuilder

The current builder to chain calls with.