Table of Contents

Interface IChoicesProvider<TContext>

Namespace
NetCord.Services.ApplicationCommands
Assembly
NetCord.Services.dll
public interface IChoicesProvider<TContext> where TContext : IApplicationCommandContext

Type Parameters

TContext

Methods

GetChoicesAsync(SlashCommandParameter<TContext>)

ValueTask<IEnumerable<ApplicationCommandOptionChoiceProperties>?> GetChoicesAsync(SlashCommandParameter<TContext> parameter)

Parameters

parameter SlashCommandParameter<TContext>

Returns

ValueTask<IEnumerable<ApplicationCommandOptionChoiceProperties>>