From 7b37ec76e530b99f783959b61d42731c7ce7420a Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Sun, 15 Sep 2024 23:42:56 +0800 Subject: [PATCH] Added Lost status to edit test command --- KfChatDotNetBot/Commands/TestCommands.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/KfChatDotNetBot/Commands/TestCommands.cs b/KfChatDotNetBot/Commands/TestCommands.cs index d58bba8..dc29c91 100644 --- a/KfChatDotNetBot/Commands/TestCommands.cs +++ b/KfChatDotNetBot/Commands/TestCommands.cs @@ -33,6 +33,7 @@ public class EditTestCommand : ICommand if (reference.Status == SentMessageTrackerStatus.NotSending || reference.Status == SentMessageTrackerStatus.Unknown || reference.Status == SentMessageTrackerStatus.ChatDisconnected || + reference.Status == SentMessageTrackerStatus.Lost || reference.ChatMessageId == null) { logger.Error("Either message refused to send due to bot settings or something fucked up getting the message ID");