From 2807d8257a4c12411aec4cf58802433aee49bf34 Mon Sep 17 00:00:00 2001 From: Anatoly Date: Mon, 4 Apr 2022 02:16:54 +0300 Subject: [PATCH] Extracted channels to .env --- create_models.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/create_models.py b/create_models.py index 4277224..f46746d 100644 --- a/create_models.py +++ b/create_models.py @@ -7,13 +7,7 @@ load_dotenv() api_id = os.getenv('API_ID') api_hash = os.getenv('API_HASH') -chats = [ - 'tg1337const', - 'cyberboec', - 'topor', - 'workBrothers', - 'anekdot_bb' -] +chats = os.getenv('CHANNELS').split() def cleanup(msg): unwanted_strings = [