diff --git a/DiscordConnector/DiscordApi.cs b/DiscordConnector/DiscordApi.cs index 1948cc0..c312b8d 100644 --- a/DiscordConnector/DiscordApi.cs +++ b/DiscordConnector/DiscordApi.cs @@ -170,15 +170,7 @@ private static void DispatchRequest(WebhookEntry webhook, byte[] byteArray) // Create an identifier for the request string requestId = GuidHelper.GenerateShortHexGuid(); - - if (Plugin.StaticConfig.DebugHttpRequestResponse) - { - Plugin.StaticLogger.LogDebug($"DispatchRequest.{requestId}: destination {webhook.Url}"); - } - else - { - Plugin.StaticLogger.LogDebug($"DispatchRequest.{requestId}: sending {byteArray.Length} bytes to Discord"); - } + Plugin.StaticLogger.LogDebug($"DispatchRequest.{requestId}: sending {byteArray.Length} bytes to Discord"); // Create a web request to send the payload to discord WebRequest request = WebRequest.Create(webhook.Url);