Interface ISubSlashCommandInfo<TContext>
- Namespace
- NetCord.Services.ApplicationCommands
- Assembly
- NetCord.Services.dll
public interface ISubSlashCommandInfo<TContext> : IAutocompleteInfo where TContext : IApplicationCommandContext
Type Parameters
TContext
- Inherited Members
Methods
GetRawValueAsync(CancellationToken)
ValueTask<ApplicationCommandOptionProperties> GetRawValueAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationToken
Returns
InvokeAsync(TContext, IReadOnlyList<ApplicationCommandInteractionDataOption>, ApplicationCommandServiceConfiguration<TContext>, IServiceProvider?)
ValueTask<IExecutionResult> InvokeAsync(TContext context, IReadOnlyList<ApplicationCommandInteractionDataOption> options, ApplicationCommandServiceConfiguration<TContext> configuration, IServiceProvider? serviceProvider)
Parameters
context
TContextoptions
IReadOnlyList<ApplicationCommandInteractionDataOption>configuration
ApplicationCommandServiceConfiguration<TContext>serviceProvider
IServiceProvider