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
24 changes: 12 additions & 12 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,29 +22,29 @@ def is_enabled(value, default):


# Owner Information
API_ID = int(environ.get("API_ID", "29640476"))
API_HASH = environ.get("API_HASH", "824d5b93ac8c8fddcf4088a67ecd5222")
ADMINS = int(environ.get("ADMINS", "6138367360"))
API_ID = int(environ.get("API_ID", "18946488"))
API_HASH = environ.get("API_HASH", "c163d4e28e63196c3806cf3b9b2885de")
ADMINS = int(environ.get("ADMINS", "6692613520"))

# 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://ajay393798:ijwrgGv5P4sIP54h@cluster0.eqraqbm.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_URI = environ.get("DB_URI", "mongodb+srv://ajay393798:btFPigbsUQK3MYt9@cluster0.ylenz.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0")
DB_NAME = environ.get("DB_NAME", "vjbotz")


# Bot Information
BOT_TOKEN = environ.get("BOT_TOKEN", "7097361555:AAHOhbFWGflLqJQcY5vWleTU-iXvfai_rXs")
BOT_USERNAME = environ.get("BOT_USERNAME", "Anime_file_store1_bot") # your bot username without @
BOT_TOKEN = environ.get("BOT_TOKEN", "8162091674:AAGt9Y4SFZeRRJtAVsXQChLHAOKNCcz9RNY")
BOT_USERNAME = environ.get("BOT_USERNAME", "Sitaratoons_file_store_bot") # your bot username without @
PICS = (environ.get('PICS', 'https://te.legra.ph/file/66604e5911df5a0c43ffa.jpg https://graph.org/file/f5a26ac21b060d5787ea3.jpg https://graph.org/file/30539d8f1fc92423d6a19.jpg https://graph.org/file/701ff72fb43d85e073f03.jpg')).split() # Bot Start Picture

# Auto Delete Information
AUTO_DELETE = int(environ.get("AUTO_DELETE", "30")) # Time in Minutes
AUTO_DELETE_TIME = int(environ.get("AUTO_DELETE_TIME", "1800")) # Time in Seconds

# Channel Information
LOG_CHANNEL = int(environ.get("LOG_CHANNEL", "-1002005121747"))
FILE_STORE_CHANNEL = [int(ch) for ch in (environ.get('FILE_STORE_CHANNEL', '-1002067183105')).split()]
LOG_CHANNEL = int(environ.get("LOG_CHANNEL", "-1002320080278"))
FILE_STORE_CHANNEL = [int(ch) for ch in (environ.get('FILE_STORE_CHANNEL', '-1002067741707')).split()]

# Don't Remove Credit Tg - @VJ_Botz
# Subscribe YouTube Channel For Amazing Bot https://youtube.com/@Tech_VJ
Expand All @@ -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', '-1002124914386'))
BIN_CHANNEL = int(getenv('BIN_CHANNEL', '-1002319299225'))
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
Expand All @@ -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-ajay-client.onrender.com"
URL = ""
else:
URL = "https://file-store-bot-ajay-client.onrender.com"
URL = ""



Expand Down