From 1577eb70411ad696f3f38302395934db098a8f86 Mon Sep 17 00:00:00 2001 From: Ske Date: Thu, 18 Jul 2019 17:29:09 +0200 Subject: [PATCH] Log channel ID rather than name --- PluralKit.Bot/Services/ProxyService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Bot/Services/ProxyService.cs b/PluralKit.Bot/Services/ProxyService.cs index a8aa2f53..eb284ae9 100644 --- a/PluralKit.Bot/Services/ProxyService.cs +++ b/PluralKit.Bot/Services/ProxyService.cs @@ -180,7 +180,7 @@ namespace PluralKit.Bot messageId = await client.SendMessageAsync(text, username: username, avatarUrl: avatarUrl); } - _logger.Information("Invoked webhook {Webhook} in channel {Channel}", webhook.Id, webhook.Channel); + _logger.Information("Invoked webhook {Webhook} in channel {Channel}", webhook.Id, webhook.ChannelId); // Log it in the metrics _metrics.Measure.Meter.Mark(BotMetrics.MessagesProxied, "success");