From 9b6fb48c4c6bca5cd733d167fd201e7f70ba6be2 Mon Sep 17 00:00:00 2001 From: norohind <60548839+norohind@users.noreply.github.com> Date: Thu, 28 Oct 2021 00:45:06 +0300 Subject: [PATCH] Let's alert about all new ru squads --- hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks.py b/hooks.py index 6b3ac7c..d26f91c 100644 --- a/hooks.py +++ b/hooks.py @@ -60,7 +60,7 @@ def detect_new_ru_squads(squad_info: dict, db_conn: sqlite3.Connection) -> None: check if members count satisfies low threshold send alert """ - MEMBERS_LOW_THRESHOLD: int = 5 + MEMBERS_LOW_THRESHOLD: int = 0 if db_conn.execute(sql_requests.check_if_squad_exists_in_db, (squad_info['id'],)).fetchone()[0] == 1: # squad has only one record, it means squad just discovered