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
TypeThe type of the autocomplete provider. This should inherit from IAutocompleteProvider.