Skip to content

Commit

Permalink
Fix ksubot global value (#1130)
Browse files Browse the repository at this point in the history
  • Loading branch information
Howard20181 authored Nov 12, 2023
1 parent 88d4eca commit 00438a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/ksubot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 00438a6

Please sign in to comment.