Method InvokeCommandErroredEventAsync
- Namespace
- DSharpPlus.Commands
- Assembly
- DSharpPlus.Commands.dll
InvokeCommandErroredEventAsync(CommandsExtension, CommandErroredEventArgs)
Invokes the CommandErrored event, which isn't normally exposed to the public API.
protected virtual ValueTask InvokeCommandErroredEventAsync(CommandsExtension extension, CommandErroredEventArgs eventArgs)
Parameters
extension
CommandsExtensionThe extension/shard that the event is being invoked on.
eventArgs
CommandErroredEventArgsThe event arguments to pass to the event.