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
10 changes: 5 additions & 5 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ def is_enabled(value, default):
return default

# Bot Information
API_ID = int(environ.get("API_ID", ""))
API_HASH = environ.get("API_HASH", "")
API_ID = int(environ.get("API_ID", "21134510"))
API_HASH = environ.get("API_HASH", "a9ccc3862be61cab5841afcf1184ef18")
BOT_TOKEN = environ.get("BOT_TOKEN", "")

PICS = (environ.get('PICS', 'https://graph.org/file/ce1723991756e48c35aa1.jpg')).split() # Bot Start Picture
ADMINS = [int(admin) if id_pattern.search(admin) else admin for admin in environ.get('ADMINS', '').split()]
BOT_USERNAME = environ.get("BOT_USERNAME", "") # without @
BOT_USERNAME = environ.get("BOT_USERNAME", "Htmfilestorage_bot") # without @
PORT = environ.get("PORT", "8080")

# Clone Info :-
Expand All @@ -35,7 +35,7 @@ def is_enabled(value, default):
CDB_NAME = environ.get("CDB_NAME", "clonetechvj")

# Database Information
DB_URI = environ.get("DB_URI", "")
DB_URI = environ.get("DB_URI", "mongodb+srv://neetugupta183:[email protected]/?retryWrites=true&w=majority&appName=Cluster0")
DB_NAME = environ.get("DB_NAME", "techvjbotz")

# Auto Delete Information
Expand All @@ -46,7 +46,7 @@ def is_enabled(value, default):
AUTO_DELETE_TIME = int(environ.get("AUTO_DELETE_TIME", "1800")) # Time in Seconds

# Channel Information
LOG_CHANNEL = int(environ.get("LOG_CHANNEL", ""))
LOG_CHANNEL = int(environ.get("LOG_CHANNEL", "-1002173620295"))

# File Caption Information
CUSTOM_FILE_CAPTION = environ.get("CUSTOM_FILE_CAPTION", f"{script.CAPTION}")
Expand Down