Table of Contents

Method InvokeCommandExecutedEventAsync

Namespace
DSharpPlus.Commands
Assembly
DSharpPlus.Commands.dll

InvokeCommandExecutedEventAsync(CommandsExtension, CommandExecutedEventArgs)

Invokes the CommandExecuted event, which isn't normally exposed to the public API.

protected virtual ValueTask InvokeCommandExecutedEventAsync(CommandsExtension extension, CommandExecutedEventArgs eventArgs)

Parameters

extension CommandsExtension

The extension/shard that the event is being invoked on.

eventArgs CommandExecutedEventArgs

The event arguments to pass to the event.

Returns

ValueTask