Table of Contents

Class CommandResultHandler<TContext>

Namespace
NetCord.Hosting.Services.Commands
Assembly
NetCord.Hosting.Services.dll
public class CommandResultHandler<TContext> : ICommandResultHandler<TContext> where TContext : ICommandContext

Type Parameters

TContext
Inheritance
CommandResultHandler<TContext>
Implements
Inherited Members

Constructors

CommandResultHandler(MessageFlags?)

public CommandResultHandler(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