From acb28b775a94f545cee29d97a9291e1f0c3f60c5 Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Fri, 14 Apr 2023 11:25:37 +0300 Subject: [PATCH] protect bot --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 5f4a64a..e7c11c3 100644 --- a/main.py +++ b/main.py @@ -23,7 +23,7 @@ logging.basicConfig(level=logging.INFO) bot = Bot(token=os.environ['BOT_TOKEN']) dp = Dispatcher(bot) -user_ids = os.environ['USERS'].split(',') +user_ids = list(map(int, os.environ['USERS'].split(','))) async def check_updates():