From 5caa0ead8ed358085ff2265b9fa9b928dc286b81 Mon Sep 17 00:00:00 2001 From: ajay0506 <169117257+ajay0506@users.noreply.github.com> Date: Tue, 7 May 2024 18:42:34 +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 6f9e8f4..3f25aa4 100644 --- a/config.py +++ b/config.py @@ -22,20 +22,20 @@ def is_enabled(value, default): # Owner Information -API_ID = int(environ.get("API_ID", "22672907")) -API_HASH = environ.get("API_HASH", "0ff15ae2153bd8e03b48cb293010bc6a") -ADMINS = int(environ.get("ADMINS", "6287591671")) +API_ID = int(environ.get("API_ID", "29640476")) +API_HASH = environ.get("API_HASH", "824d5b93ac8c8fddcf4088a67ecd5222") +ADMINS = int(environ.get("ADMINS", "6138367360")) # Database Information -CLONE_DB_URI = environ.get("CLONE_DB_URI", "mongodb+srv://infotechhero890:7c2qvHdJUYqTOaMa@cluster0.veojhex.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0") +CLONE_DB_URI = environ.get("CLONE_DB_URI", "mongodb+srv://ajaykashyap2323:aUfAmPfzAbsvf7mo@cluster0.dmd9x5r.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0") CDB_NAME = environ.get("CDB_NAME", "clonevjbotz") DB_URI = environ.get("DB_URI", "mongodb+srv://thahero196:lP9Fb6aKL7T0y47U@cluster0.whs2bkj.mongodb.net/?retryWrites=true&w=majority") DB_NAME = environ.get("DB_NAME", "vjbotz") # Bot Information -BOT_TOKEN = environ.get("BOT_TOKEN", "") -BOT_USERNAME = environ.get("BOT_USERNAME", "Hero_File_Store_Bot") # your bot username without @ +BOT_TOKEN = environ.get("BOT_TOKEN", "7097361555:AAHOhbFWGflLqJQcY5vWleTU-iXvfai_rXs") +BOT_USERNAME = environ.get("BOT_USERNAME", "Anime_file_store1_bot") # your bot username without @ PICS = (environ.get('PICS', 'https://te.legra.ph/file/66604e5911df5a0c43ffa.jpg https://te.legra.ph/file/66604e5911df5a0c43ffa.jpg')).split() # Bot Start Picture # Auto Delete Information @@ -43,8 +43,8 @@ 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", "-1002022119783")) -FILE_STORE_CHANNEL = [int(ch) for ch in (environ.get('FILE_STORE_CHANNEL', '-1002105074734')).split()] +LOG_CHANNEL = int(environ.get("LOG_CHANNEL", "-1002005121747")) +FILE_STORE_CHANNEL = [int(ch) for ch in (environ.get('FILE_STORE_CHANNEL', '-1002067183105')).split()] # Don't Remove Credit Tg - @VJ_Botz # Subscribe YouTube Channel For Amazing Bot https://youtube.com/@Tech_VJ @@ -66,7 +66,7 @@ class Var(object): name = str(getenv('name', 'filetolinkvjbot')) SLEEP_THRESHOLD = int(getenv('SLEEP_THRESHOLD', '60')) WORKERS = int(getenv('WORKERS', '4')) - BIN_CHANNEL = int(getenv('BIN_CHANNEL', '-1002016613151')) + BIN_CHANNEL = int(getenv('BIN_CHANNEL', '-1002124914386')) PORT = int(getenv('PORT', 8080)) BIND_ADRESS = str(getenv('WEB_SERVER_BIND_ADDRESS', '0.0.0.0')) PING_INTERVAL = int(environ.get("PING_INTERVAL", "1200")) # 20 minutes @@ -81,9 +81,9 @@ class Var(object): FQDN = str(getenv('FQDN', BIND_ADRESS)) if not ON_HEROKU or getenv('FQDN') else APP_NAME+'.herokuapp.com' HAS_SSL=bool(getenv('HAS_SSL',False)) if HAS_SSL: - URL = "https://file-store-bot-0u3i.onrender.com" + URL = "" else: - URL = "https://file-store-bot-0u3i.onrender.com" + URL = ""