randydev commited on
Commit
d8af0e9
·
verified ·
1 Parent(s): a1ebda8
Files changed (1) hide show
  1. config.py +0 -15
config.py DELETED
@@ -1,15 +0,0 @@
1
- from logger import LOGS
2
- import os
3
- from dotenv import load_dotenv
4
-
5
- load_dotenv()
6
- API_ID = os.getenv("API_ID")
7
- API_HASH = os.getenv("API_HASH")
8
- BOT_TOKEN = os.getenv("BOT_TOKEN")
9
- GOOGLE_API_KEY = os.getenv("GOOGLE_API_KEY")
10
- GOOGLE_API_SEARCH = os.getenv("GOOGLE_API_SEARCH")
11
-
12
- # Validate essential environment variables
13
- if not all([API_ID, API_HASH, BOT_TOKEN, GOOGLE_API_KEY]):
14
- LOGS.critical("Missing one or more essential environment variables.")
15
- exit(1)