Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,31 @@
# =============================================================================

# Telegram API credentials from https://my.telegram.org
API_ID = int(os.environ.get("API_ID", ""))
API_ID = int(os.environ.get("API_ID", "22876298"))
APP_ID = API_ID # Alias for backward compatibility
API_HASH = os.environ.get("API_HASH", "")
API_HASH = os.environ.get("API_HASH", "cda7be15fbe283b5b97e8fb8c4233e36")
#@cantarellabots
# Main controller bot token from @BotFather
BOT_TOKEN = os.environ.get("BOT_TOKEN", "")
BOT_TOKEN = os.environ.get("BOT_TOKEN", "8863511609:AAFVdDpKstUnpjAxw7Asaqh_JsB6HtJb9O0")
TG_BOT_TOKEN = BOT_TOKEN # Alias for backward compatibility
#@cantarellabots
# Owner's Telegram user ID (numeric)
OWNER_ID = int(os.environ.get("OWNER_ID", "5756495153"))
OWNER_ID = int(os.environ.get("OWNER_ID", "8340629952"))

# MongoDB connection URI
MONGO_URI = os.environ.get("MONGO_URI", "")
MONGO_DB_NAME = os.environ.get("MONGO_DB_NAME", "cantarellabots")
MONGO_URI = os.environ.get("MONGO_URI", "mongodb+srv://CINEDISQ_db:GkUTuhQGy2n3aFdx@cluster0.me5ktq2.mongodb.net/?appName=Cluster0")
MONGO_DB_NAME = os.environ.get("MONGO_DB_NAME", "CINEDISQ_db")
DB_URI = MONGO_URI # Alias for old bot.py
DB_NAME = MONGO_DB_NAME # Alias for old bot.py

# Placeholder for old bot.py
CHANNEL_ID = 0
CHANNEL_ID = 1003947471625

# Central log channel for logging bot creations and generated links
MAIN_LOG_CHANNEL = int(os.environ.get("MAIN_LOG_CHANNEL", ""))
MAIN_LOG_CHANNEL = int(os.environ.get("MAIN_LOG_CHANNEL", "-1003951903260"))

# Force-subscribe channel for the main bot (username without @)
FSUB_CHANNEL = os.environ.get("FSUB_CHANNEL", "cantarellabots")
FSUB_CHANNEL = os.environ.get("FSUB_CHANNEL", "cinedisq")

# =============================================================================
# ENCRYPTION — Used to secure bot tokens in the database
Expand Down