Added Lost status to edit test command

This commit is contained in:
barelyprofessional
2024-09-15 23:42:56 +08:00
parent 04e73c8d5f
commit 7b37ec76e5

View File

@@ -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");