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
CommandContextThe context of the command.
cancellationToken
CancellationTokenThe cancellation token to use.
Returns
- ValueTask