Table of Contents

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
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 IExecutionResult
context TContext
client GatewayClient
logger ILogger
services IServiceProvider

Returns

ValueTask