Fix ksubot global value (#1130)

This commit is contained in:
Howard Wu
2023-11-12 13:34:59 +08:00
committed by GitHub
parent a94c35f69f
commit 2ab2f16777

View File

@@ -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)