Method GrabChoicesAsync
- Assembly
- DSharpPlus.Commands.dll
GrabChoicesAsync(IServiceProvider, CommandParameter)
public ValueTask<IEnumerable<DiscordApplicationCommandOptionChoice>> GrabChoicesAsync(IServiceProvider serviceProvider, CommandParameter parameter)
Parameters
serviceProvider
IServiceProviderparameter
CommandParameter
Returns
- ValueTask<IEnumerable<DiscordApplicationCommandOptionChoice>>