diff --git a/modules/CodeWatcher/Handler.cs b/modules/CodeWatcher/Handler.cs index 81ba20c..7dc5f1f 100644 --- a/modules/CodeWatcher/Handler.cs +++ b/modules/CodeWatcher/Handler.cs @@ -34,6 +34,11 @@ public class Handler : BotEventHandler .SplitToLines() .ToList(); + if (entityLines.Count < 2) + { + continue; + } + if (entityLines.Count >= 20 || entityLines.Any(line => line.Length > 160)) { await DeleteAndNotifyAsync(message);