Log channel ID rather than name
This commit is contained in:
parent
0b4335ccaa
commit
1577eb7041
@ -180,7 +180,7 @@ namespace PluralKit.Bot
|
|||||||
messageId = await client.SendMessageAsync(text, username: username, avatarUrl: avatarUrl);
|
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
|
// Log it in the metrics
|
||||||
_metrics.Measure.Meter.Mark(BotMetrics.MessagesProxied, "success");
|
_metrics.Measure.Meter.Mark(BotMetrics.MessagesProxied, "success");
|
||||||
|
Loading…
Reference in New Issue
Block a user