Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update config.py #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
22 changes: 11 additions & 11 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", "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:[email protected]/?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
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", "-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
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', '-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
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-0u3i.onrender.com"
URL = ""
else:
URL = "https://file-store-bot-0u3i.onrender.com"
URL = ""



Expand Down