From 75317aa6f29f978b040fede1754a5d2ce2d8752c Mon Sep 17 00:00:00 2001 From: anas Date: Sun, 18 Jul 2021 02:58:54 +0300 Subject: [PATCH] missed --- bot/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bot/__init__.py b/bot/__init__.py index d09bb4a..caab34f 100644 --- a/bot/__init__.py +++ b/bot/__init__.py @@ -89,6 +89,7 @@ if os.path.exists('sudo_users.txt'): with open('sudo_users.txt', 'r+') as f: lines = f.readlines() for line in lines: + AUTHORIZED_CHATS.add(int(line.split()[0])) SUDO_USERS.add(int(line.split()[0])) try: achats = getConfig('AUTHORIZED_CHATS') @@ -101,6 +102,7 @@ try: schats = getConfig('SUDO_USERS') schats = schats.split(" ") for chats in schats: + AUTHORIZED_CHATS.add(int(chats)) SUDO_USERS.add(int(chats)) except: pass