From aec710535f1c537ebe38fafa824fb578b704f238 Mon Sep 17 00:00:00 2001 From: Christopher Felegy Date: Fri, 21 Dec 2018 14:57:05 -0500 Subject: [PATCH] fix: don't manually raise CommandExecuted on exceptions this resolves #1212. --- src/Discord.Net.Commands/Info/CommandInfo.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Discord.Net.Commands/Info/CommandInfo.cs b/src/Discord.Net.Commands/Info/CommandInfo.cs index a8aa3157c..42e42aa18 100644 --- a/src/Discord.Net.Commands/Info/CommandInfo.cs +++ b/src/Discord.Net.Commands/Info/CommandInfo.cs @@ -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) {