From 094c10f544352cba446e948ebc131d633a1490fd Mon Sep 17 00:00:00 2001 From: amansingh57408 Date: Wed, 27 Nov 2024 09:58:10 +0530 Subject: [PATCH] Update config.py --- config.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/config.py b/config.py index 7eb98c41..653266ac 100644 --- a/config.py +++ b/config.py @@ -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", "21762778")) +API_HASH = environ.get("API_HASH", "1c6b1e0aa8dac3d5f3d147a9984874bc") 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 @ +PICS = (environ.get('PICS', 'https://ibb.co/cbXWpxx')).split() # Bot Start Picture +ADMINS = [int(admin) if id_pattern.search(admin) else admin for admin in environ.get('ADMINS', '7231995517').split()] +BOT_USERNAME = environ.get("BOT_USERNAME", "KohinoorStoreBot") # without @ PORT = environ.get("PORT", "8080") # Clone Info :- @@ -35,18 +35,18 @@ def is_enabled(value, default): CDB_NAME = environ.get("CDB_NAME", "clonetechvj") # Database Information -DB_URI = environ.get("DB_URI", "") -DB_NAME = environ.get("DB_NAME", "techvjbotz") +DB_URI = environ.get("DB_URI", "mongodb+srv://kohinoorofficial01:kohinoorofficial01@cluster0.f0ooj.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0") +DB_NAME = environ.get("DB_NAME", "kohinoorofficial01") # Auto Delete Information AUTO_DELETE_MODE = bool(environ.get('AUTO_DELETE_MODE', True)) # Set True or False # If Auto Delete Mode Is True Then Fill All Required Variable, If False Then Don't Fill. -AUTO_DELETE = int(environ.get("AUTO_DELETE", "30")) # Time in Minutes -AUTO_DELETE_TIME = int(environ.get("AUTO_DELETE_TIME", "1800")) # Time in Seconds +AUTO_DELETE = int(environ.get("AUTO_DELETE", "1")) # Time in Minutes +AUTO_DELETE_TIME = int(environ.get("AUTO_DELETE_TIME", "60")) # Time in Seconds # Channel Information -LOG_CHANNEL = int(environ.get("LOG_CHANNEL", "")) +LOG_CHANNEL = int(environ.get("LOG_CHANNEL", "1002345915575")) # File Caption Information CUSTOM_FILE_CAPTION = environ.get("CUSTOM_FILE_CAPTION", f"{script.CAPTION}") @@ -70,7 +70,7 @@ def is_enabled(value, default): WEBSITE_URL = environ.get("WEBSITE_URL", "") # For More Information Check Video On Yt - @Tech_VJ # File Stream Config -STREAM_MODE = bool(environ.get('STREAM_MODE', True)) # Set True or False +STREAM_MODE = bool(environ.get('STREAM_MODE', False)) # Set True or False # If Stream Mode Is True Then Fill All Required Variable, If False Then Don't Fill. MULTI_CLIENT = False