Fix ksubot global value (#1130)
This commit is contained in:
@@ -41,6 +41,7 @@ def get_caption():
|
|||||||
|
|
||||||
|
|
||||||
def check_environ():
|
def check_environ():
|
||||||
|
global CHAT_ID, MESSAGE_THREAD_ID
|
||||||
if BOT_TOKEN is None:
|
if BOT_TOKEN is None:
|
||||||
print("[-] Invalid BOT_TOKEN")
|
print("[-] Invalid BOT_TOKEN")
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|||||||
Reference in New Issue
Block a user