Table of Contents

Method ExecuteAsync

Namespace
DSharpPlus.Commands
Assembly
DSharpPlus.Commands.dll

ExecuteAsync(CommandContext, CancellationToken)

Executes a command asynchronously.

ValueTask ExecuteAsync(CommandContext context, CancellationToken cancellationToken = default)

Parameters

context CommandContext

The context of the command.

cancellationToken CancellationToken

The cancellation token to use.

Returns

ValueTask