Interface IAutocompleteProvider
The autocomplete provider.
Namespace: DisCatSharp.ApplicationCommands.Attributes
Assembly: DisCatSharp.ApplicationCommands.dll
Syntax
public interface IAutocompleteProvider
Methods
| Improve this Doc View SourceProvider(AutocompleteContext)
Provider the autocompletion.
Declaration
Task<IEnumerable<DiscordApplicationCommandAutocompleteChoice>> Provider(AutocompleteContext context)
Parameters
Type | Name | Description |
---|---|---|
AutocompleteContext | context | The context. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<DiscordApplicationCommandAutocompleteChoice>> |