Table of Contents

Constructor AutocompleteAttribute

Namespace
DSharpPlus.SlashCommands
Assembly
DSharpPlus.SlashCommands.dll

AutocompleteAttribute(Type)

Handles autocomplete choices for a slash command parameter.

public AutocompleteAttribute(Type provider)

Parameters

provider Type

The type of the autocomplete provider. This should inherit from IAutocompleteProvider.