Class ApplicationCommandResultHandler<TContext>
- Namespace
- NetCord.Hosting.Services.ApplicationCommands
- Assembly
- NetCord.Hosting.Services.dll
public class ApplicationCommandResultHandler<TContext> : IApplicationCommandResultHandler<TContext> where TContext : IApplicationCommandContext
Type Parameters
TContext
- Inheritance
-
ApplicationCommandResultHandler<TContext>
- Implements
-
IApplicationCommandResultHandler<TContext>
- Inherited Members
Constructors
ApplicationCommandResultHandler(MessageFlags?)
public ApplicationCommandResultHandler(MessageFlags? messageFlags = null)
Parameters
messageFlags
MessageFlags?
Methods
HandleResultAsync(IExecutionResult, TContext, GatewayClient?, ILogger, IServiceProvider)
public ValueTask HandleResultAsync(IExecutionResult result, TContext context, GatewayClient? client, ILogger logger, IServiceProvider services)
Parameters
result
IExecutionResultcontext
TContextclient
GatewayClientlogger
ILoggerservices
IServiceProvider