diff --git a/config.py b/config.py index 1f9854b..c5e4699 100644 --- a/config.py +++ b/config.py @@ -48,8 +48,7 @@ class Config: ADMIN = os.environ.get("ADMINS", '') ADMINS = [int(admin) if re.search('^\d+$', admin) else admin for admin in (ADMIN).split()] API_ID = int(os.environ.get("API_ID", '')) - CHATS = os.environ.get("CHAT", '') - CHAT = [int(chats) if re.search('^\d+$', chats) else chats for chats in (CHATS).split()] + CHAT = int(os.environ.get("CHAT", "")) LOG_GROUP=os.environ.get("LOG_GROUP", "") if LOG_GROUP: LOG_GROUP=int(LOG_GROUP)