diff --git a/scripts/ksubot.py b/scripts/ksubot.py index 5cd098e3d3bc..e443a1906081 100644 --- a/scripts/ksubot.py +++ b/scripts/ksubot.py @@ -41,6 +41,7 @@ def get_caption(): def check_environ(): + global CHAT_ID, MESSAGE_THREAD_ID if BOT_TOKEN is None: print("[-] Invalid BOT_TOKEN") exit(1)