Table of Contents

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

ValueTask<ApplicationCommandOptionProperties>

InvokeAsync(TContext, IReadOnlyList<ApplicationCommandInteractionDataOption>, ApplicationCommandServiceConfiguration<TContext>, IServiceProvider?)

ValueTask<IExecutionResult> InvokeAsync(TContext context, IReadOnlyList<ApplicationCommandInteractionDataOption> options, ApplicationCommandServiceConfiguration<TContext> configuration, IServiceProvider? serviceProvider)

Parameters

context TContext
options IReadOnlyList<ApplicationCommandInteractionDataOption>
configuration ApplicationCommandServiceConfiguration<TContext>
serviceProvider IServiceProvider

Returns

ValueTask<IExecutionResult>