mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
[code-watcher] double the trigger criterias
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user