Table of Contents

Class CommandModule<TContext>

Namespace
NetCord.Services.Commands
Assembly
NetCord.Services.dll
public abstract class CommandModule<TContext> : BaseCommandModule<TContext> where TContext : ICommandContext, IGatewayClientContext

Type Parameters

TContext
Inheritance
CommandModule<TContext>
Inherited Members

Constructors

CommandModule()

protected CommandModule()

Methods

ReplyAsync(ReplyMessageProperties, RestRequestProperties?, CancellationToken)

public Task<RestMessage> ReplyAsync(ReplyMessageProperties replyMessage, RestRequestProperties? properties = null, CancellationToken cancellationToken = default)

Parameters

replyMessage ReplyMessageProperties
properties RestRequestProperties
cancellationToken CancellationToken

Returns

Task<RestMessage>

SendAsync(MessageProperties, RestRequestProperties?, CancellationToken)

public Task<RestMessage> SendAsync(MessageProperties message, RestRequestProperties? properties = null, CancellationToken cancellationToken = default)

Parameters

message MessageProperties
properties RestRequestProperties
cancellationToken CancellationToken

Returns

Task<RestMessage>