forked from VJBots/VJ-File-Store
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,25 +18,25 @@ def is_enabled(value, default): | |
return default | ||
|
||
# Bot Information | ||
API_ID = int(environ.get("API_ID", "22182189")) | ||
API_HASH = environ.get("API_HASH", "5e7c4088f8e23d0ab61e29ae11960bf5") | ||
API_ID = int(environ.get("API_ID", "")) | ||
API_HASH = environ.get("API_HASH", "") | ||
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', '6073523936').split()] | ||
ADMINS = [int(admin) if id_pattern.search(admin) else admin for admin in environ.get('ADMINS', '').split()] | ||
BOT_USERNAME = environ.get("BOT_USERNAME", "") # without @ | ||
PORT = environ.get("PORT", "8080") | ||
|
||
# Clone Info :- | ||
CLONE_MODE = bool(environ.get('CLONE_MODE', True)) # Set True or False | ||
|
||
# If Clone Mode Is True Then Fill All Required Variable, If False Then Don't Fill. | ||
CLONE_DB_URI = environ.get("CLONE_DB_URI", "mongodb+srv://mihaja5084:[email protected]/?retryWrites=true&w=majority") | ||
CDB_NAME = environ.get("CDB_NAME", "clonevjbotz") | ||
CLONE_DB_URI = environ.get("CLONE_DB_URI", "") | ||
CDB_NAME = environ.get("CDB_NAME", "clonetechvj") | ||
|
||
# Database Information | ||
DB_URI = environ.get("DB_URI", "mongodb+srv://mihaja5084:[email protected]/?retryWrites=true&w=majority") | ||
DB_NAME = environ.get("DB_NAME", "vjbotz") | ||
DB_URI = environ.get("DB_URI", "") | ||
DB_NAME = environ.get("DB_NAME", "techvj") | ||
|
||
# Auto Delete Information | ||
AUTO_DELETE_MODE = bool(environ.get('AUTO_DELETE_MODE', True)) # Set True or False | ||
|
@@ -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", "-1002131110143")) | ||
LOG_CHANNEL = int(environ.get("LOG_CHANNEL", "")) | ||
|
||
# File Caption Information | ||
CUSTOM_FILE_CAPTION = environ.get("CUSTOM_FILE_CAPTION", f"{script.CAPTION}") | ||
|
@@ -67,7 +67,7 @@ def is_enabled(value, default): | |
WEBSITE_URL_MODE = bool(environ.get('WEBSITE_URL_MODE', True)) # Set True or False | ||
|
||
# If Website Url Mode Is True Then Fill All Required Variable, If False Then Don't Fill. | ||
WEBSITE_URL = environ.get("WEBSITE_URL", "https://techxvj.blogspot.com/2024/07/blog-post.html") # For More Information Check Video On Yt - @Tech_VJ | ||
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 | ||
|