Update config.py
Browse files
config.py
CHANGED
@@ -8,6 +8,6 @@ API_HASH = os.getenv("API_HASH")
|
|
8 |
BOT_TOKEN = os.getenv("BOT_TOKEN")
|
9 |
|
10 |
# Validate essential environment variables
|
11 |
-
if not all([API_ID, API_HASH, BOT_TOKEN
|
12 |
LOGS.critical("Missing one or more essential environment variables.")
|
13 |
exit(1)
|
|
|
8 |
BOT_TOKEN = os.getenv("BOT_TOKEN")
|
9 |
|
10 |
# Validate essential environment variables
|
11 |
+
if not all([API_ID, API_HASH, BOT_TOKEN]):
|
12 |
LOGS.critical("Missing one or more essential environment variables.")
|
13 |
exit(1)
|