anti-eval-bot / config.py
randydev's picture
Create config.py
fa1cfe3 verified
raw
history blame contribute delete
533 Bytes
import os
from dotenv import load_dotenv
load_dotenv()
API_ID = os.getenv("API_ID")
API_HASH = os.getenv("API_HASH")
BOT_TOKEN = os.getenv("BOT_TOKEN")
MONGO_URI = os.getenv("MONGO_URI")
if not all([API_ID, API_HASH, BOT_TOKEN, MONGO_URI]):
raise ValueError("Please set API_ID, API_HASH, BOT_TOKEN, and MONGO_URI in the environment variables.")
BLOCKED_INLINE_BOTS = [
"peeridbot",
"evalbot",
]
LEAVE_GROUP_LIST = [
"lullagroup",
"tedegroup",
"chellsupport",
"ExclusiveFeedback",
"cemarasupport"
]