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
12 changes: 6 additions & 6 deletions info.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ def is_enabled(value, default):
# Bot Information Configuration
# ============================
SESSION = environ.get('SESSION', 'dreamxbotz_search') # Session name for the bot
API_ID = int(environ.get('API_ID', '')) # API ID from my.telegram.org
API_HASH = environ.get('API_HASH', '') # API Hash from my.telegram.org
BOT_TOKEN = environ.get('BOT_TOKEN', "") # Bot token from @BotFather
API_ID = int(environ.get('API_ID', '33430186')) # API ID from my.telegram.org
API_HASH = environ.get('API_HASH', 'aab50712bf342a7a623528a9523335a1') # API Hash from my.telegram.org
BOT_TOKEN = environ.get('BOT_TOKEN', "8546701364:AAFVsW_avK_wS5xFIBBlE-0EQRJBO30-2mg") # Bot token from @BotFather

# ============================
# Bot Settings Configuration
Expand All @@ -41,8 +41,8 @@ def is_enabled(value, default):
# ============================
# Admin, Channels & Users Configuration
# ============================
ADMINS = [int(admin) if id_pattern.search(admin) else admin for admin in environ.get('ADMINS', '').split()] # Replace with the actual admin ID(s) to add
CHANNELS = [int(ch) if id_pattern.search(ch) else ch for ch in environ.get('CHANNELS', '-100').split()] # Channel id for auto indexing (make sure bot is admin)
ADMINS = [int(admin) if id_pattern.search(admin) else admin for admin in environ.get('ADMINS', '2116817690').split()] # Replace with the actual admin ID(s) to add
CHANNELS = [int(ch) if id_pattern.search(ch) else ch for ch in environ.get('CHANNELS', '-1001956919343').split()] # Channel id for auto indexing (make sure bot is admin)

LOG_CHANNEL = int(environ.get('LOG_CHANNEL', '-100')) # Log channel id (make sure bot is admin)
BIN_CHANNEL = int(environ.get('BIN_CHANNEL', '-100')) # Bin channel id (make sure bot is admin)
Expand Down Expand Up @@ -73,7 +73,7 @@ def is_enabled(value, default):
# ============================
# MongoDB Configuration
# ============================
DATABASE_URI = environ.get('DATABASE_URI', "") # MongoDB URI for the database
DATABASE_URI = environ.get('DATABASE_URI', "mongodb+srv://jobinskariah777_db_user:Jobin2026@cluster0.dgchhc5.mongodb.net/?retryWrites=true&w=majority") # MongoDB URI for the database
DATABASE_NAME = environ.get('DATABASE_NAME', "Cluster0") # Database name (default: cluster)
COLLECTION_NAME = environ.get('COLLECTION_NAME', 'dreamcinezone_files') # Collection name (default: dreamcinezone_files)

Expand Down