From 53dad27b4fdd75694cc58ef11e5d08639cad9224 Mon Sep 17 00:00:00 2001 From: Wiktor Date: Sun, 2 Nov 2025 00:43:34 +0100 Subject: [PATCH] fix: replace remaining OWNER_ID reference with OWNER_IDS --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 7827ab9..ad65b95 100644 --- a/bot.py +++ b/bot.py @@ -859,7 +859,7 @@ async def scheduleat(update: Update, context: ContextTypes.DEFAULT_TYPE): def main(): if not BOT_TOKEN: raise SystemExit("Please set TELEGRAM_BOT_TOKEN environment variable") - if not OWNER_ID or OWNER_ID == 0: + if not OWNER_IDS or 0 in OWNER_IDS: raise SystemExit("Please set OWNER_ID environment variable to your Telegram user id") if not CHANNEL_ID: raise SystemExit("Please set CHANNEL_ID to target channel (username or id)")