From 63d9812e29ec3d915d36194f855f9dd0db911ec8 Mon Sep 17 00:00:00 2001 From: Casino Boyale Date: Mon, 31 Dec 2018 17:15:03 +0000 Subject: [PATCH] Removed redundant log method --- .../Services/CommandHandlingService.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/samples/02_commands_framework/Services/CommandHandlingService.cs b/samples/02_commands_framework/Services/CommandHandlingService.cs index ec26ccfb0..d29be9201 100644 --- a/samples/02_commands_framework/Services/CommandHandlingService.cs +++ b/samples/02_commands_framework/Services/CommandHandlingService.cs @@ -56,12 +56,5 @@ namespace _02_commands_framework.Services // the command failed, let's notify the user that something happened. await context.Channel.SendMessageAsync($"error: {result.ToString()}"); } - - private Task LogAsync(LogMessage log) - { - Console.WriteLine(log.ToString()); - - return Task.CompletedTask; - } } }