Table of Contents

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 CommandsExtension

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

eventArgs CommandErroredEventArgs

The event arguments to pass to the event.

Returns

ValueTask