From 798ff504e9fa923bcc561e9d2ae7036ae035c474 Mon Sep 17 00:00:00 2001 From: Casino Boyale Date: Mon, 31 Dec 2018 17:12:15 +0000 Subject: [PATCH] Removed double hooking of CommandService log event The log event is already hooked in Line 38 of program.cs --- samples/02_commands_framework/Services/CommandHandlingService.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/samples/02_commands_framework/Services/CommandHandlingService.cs b/samples/02_commands_framework/Services/CommandHandlingService.cs index ca7af2774..ec26ccfb0 100644 --- a/samples/02_commands_framework/Services/CommandHandlingService.cs +++ b/samples/02_commands_framework/Services/CommandHandlingService.cs @@ -21,7 +21,6 @@ namespace _02_commands_framework.Services _services = services; _commands.CommandExecuted += CommandExecutedAsync; - _commands.Log += LogAsync; _discord.MessageReceived += MessageReceivedAsync; }