From 99d71aec2cbeccf7131353c973c87f0db6c363f0 Mon Sep 17 00:00:00 2001 From: spiral Date: Wed, 14 Dec 2022 20:42:45 +0000 Subject: [PATCH] feat(bot): update logclean for Dyno change --- PluralKit.Bot/Services/LoggerCleanService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Bot/Services/LoggerCleanService.cs b/PluralKit.Bot/Services/LoggerCleanService.cs index c0c5369f..d6c2c696 100644 --- a/PluralKit.Bot/Services/LoggerCleanService.cs +++ b/PluralKit.Bot/Services/LoggerCleanService.cs @@ -172,7 +172,7 @@ public class LoggerCleanService { // Embed *description* contains "Message sent by [mention] deleted in [channel]", contains message ID in footer per regex var embed = msg.Embeds?.FirstOrDefault(); - if (embed?.Footer == null || !(embed.Description?.Contains("deleted in") ?? false)) return null; + if (embed?.Footer == null || !(embed.Description?.Contains("Deleted in") ?? false)) return null; var match = _dynoRegex.Match(embed.Footer.Text ?? ""); return match.Success ? ulong.Parse(match.Groups[1].Value) : null; }