fix: don't manually raise CommandExecuted on exceptions
this resolves #1212.
This commit is contained in:
@@ -274,7 +274,6 @@ namespace Discord.Commands
|
||||
await Module.Service._cmdLogger.ErrorAsync(wrappedEx).ConfigureAwait(false);
|
||||
|
||||
var result = ExecuteResult.FromError(ex);
|
||||
await Module.Service._commandExecutedEvent.InvokeAsync(this, context, result).ConfigureAwait(false);
|
||||
|
||||
if (Module.Service._throwOnError)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user