Interface IApplicationCommandPreExecutionHandler<TContext>
- Namespace
- NetCord.Hosting.Services.ApplicationCommands
- Assembly
- NetCord.Hosting.Services.dll
public interface IApplicationCommandPreExecutionHandler<TContext> where TContext : IApplicationCommandContext
Type Parameters
TContext
Methods
HandleAsync(TContext, GatewayClient?, ILogger, IServiceProvider)
ValueTask<PreExecutionResult> HandleAsync(TContext context, GatewayClient? client, ILogger logger, IServiceProvider services)
Parameters
contextTContextclientGatewayClientloggerILoggerservicesIServiceProvider