From afb942a33a84ed1ca681bdefe2627d3297bbe096 Mon Sep 17 00:00:00 2001 From: Andriy <30056636+West14@users.noreply.github.com> Date: Tue, 14 Jun 2022 11:23:02 +0300 Subject: [PATCH] [code-watcher] double the trigger criterias --- modules/CodeWatcher/Handler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/CodeWatcher/Handler.cs b/modules/CodeWatcher/Handler.cs index f2d0067..81ba20c 100644 --- a/modules/CodeWatcher/Handler.cs +++ b/modules/CodeWatcher/Handler.cs @@ -34,7 +34,7 @@ public class Handler : BotEventHandler .SplitToLines() .ToList(); - if (entityLines.Count >= 10 || entityLines.Any(line => line.Length > 80)) + if (entityLines.Count >= 20 || entityLines.Any(line => line.Length > 160)) { await DeleteAndNotifyAsync(message); return;