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
CommandsExtensionThe extension/shard that the event is being invoked on.
eventArgs
CommandExecutedEventArgsThe event arguments to pass to the event.
Returns
- ValueTask