From d1d5ccc614d44f6328d3223b2b299f696f1ba57c Mon Sep 17 00:00:00 2001 From: Ronin <75478274+ronin08@users.noreply.github.com> Date: Thu, 23 Sep 2021 18:09:28 +0530 Subject: [PATCH 1/3] Update config_sample.env minor changes --- config_sample.env | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/config_sample.env b/config_sample.env index 689dabbd8e5..27bd949b353 100644 --- a/config_sample.env +++ b/config_sample.env @@ -1,6 +1,8 @@ # Remove this line before deploying _____REMOVE_THIS_LINE_____=True +# Please read this for filling instructions: https://github.com/SlamDevs/slam-mirrorbot#setting-up-config-file + # REQUIRED CONFIG BOT_TOKEN = "" GDRIVE_FOLDER_ID = "" @@ -18,7 +20,7 @@ SUDO_USERS = "" # Split by space IGNORE_PENDING_REQUESTS = "" USE_SERVICE_ACCOUNTS = "" INDEX_URL = "" -STATUS_LIMIT = "" # Recommend limit status to 4 tasks +STATUS_LIMIT = "" # Recommended limit is 4 # Leech TG_SPLIT_SIZE = "" # leave it empty for max size (2GB) AS_DOCUMENT = "" @@ -29,28 +31,28 @@ MEGA_PASSWORD = "" BLOCK_MEGA_FOLDER = "" BLOCK_MEGA_LINKS = "" STOP_DUPLICATE = "" -RECURSIVE_SEARCH = "" # Search in Subfolders (only for teamdriveid or root, you can't with folderid) +RECURSIVE_SEARCH = "" # Fill True or False to search in sub-folders or not (only for shared-drive ID or root, you can't use it with folder ID) SHORTENER = "" SHORTENER_API = "" # qBittorrent -IS_VPS = "" # Don't set this to True even if VPS, unless facing error with web server +IS_VPS = "" # Don't set this to True even if you're using VPS, unless facing error with web server SERVER_PORT = "80" # Only For VPS even if IS_VPS is False BASE_URL_OF_BOT = "" # Web Link, Required for Heroku to avoid sleep or use worker if you don't want to use web (selection) # If you want to use Credentials externally from Index Links, fill these vars with the direct links -# These are optional, if you don't know, simply leave them, don't fill anything in them. +# These are optional, if you don't know about them, simply leave them empty ACCOUNTS_ZIP_URL = "" TOKEN_PICKLE_URL = "" MULTI_SEARCH_URL = "" # You can use gist raw link (remove commit id from the link, like config raw link check Heroku guide) -# To use limit leave space between number and unit. Available units is (gb or GB, tb or TB) +# To use limit leave space between number and unit. Available units are (gb or GB, tb or TB) TORRENT_DIRECT_LIMIT = "" TAR_UNZIP_LIMIT = "" CLONE_LIMIT = "" MEGA_LIMIT = "" # View Link button to open file Index Link in browser instead of direct download link -# You can figure out if it's compatible with your Index code or not, open any video from you Index and check if the END of link from browser link bar is ?a=view, if yes make it "True" it will work (Compatible with Bhadoo Index Code) +# You can figure out if it's compatible with your Index code or not, open any video from you Index and check if its URL ends with ?a=view, if yes make it True it will work (Compatible with Bhadoo Drive Index) VIEW_LINK = "" -# Add more buttons (Three buttons are already added of Drive Link, Index Link, and View Link, you can add extra buttons too, these are optional) -# If you don't know what are below entries, simply leave them, Don't fill anything in them. +# Add more buttons (Three buttons are already added including Drive Link, Index Link, and View Link, you can add extra buttons too, these are optional) +# If you don't know what are below entries, simply leave them empty BUTTON_FOUR_NAME = "" BUTTON_FOUR_URL = "" BUTTON_FIVE_NAME = "" From fdadf56d09bc70b92928a1f76742413bb7fc5ede Mon Sep 17 00:00:00 2001 From: Ronin <75478274+ronin08@users.noreply.github.com> Date: Thu, 23 Sep 2021 18:23:18 +0530 Subject: [PATCH 2/3] Update leech_settings.py --- bot/modules/leech_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/modules/leech_settings.py b/bot/modules/leech_settings.py index d93c67f983c..647b47e72b6 100644 --- a/bot/modules/leech_settings.py +++ b/bot/modules/leech_settings.py @@ -28,7 +28,7 @@ def leechSet(update, context): msg += "DOCUMENT" else: msg += "MEDIA" - msg += "\nCustom Thmubnail " + msg += "\nCustom Thumbnail " msg += "exists" if os.path.exists(path) else "not exists" buttons = button_build.ButtonMaker() buttons.sbutton("As Document", f"doc {user_id}") From 91e62d3632de5db3f177fc6f6f206da4eb97aa6a Mon Sep 17 00:00:00 2001 From: Ronin <75478274+ronin08@users.noreply.github.com> Date: Fri, 24 Sep 2021 22:13:58 +0530 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0c62f465f3d..8305d8f313f 100644 --- a/README.md +++ b/README.md @@ -182,7 +182,7 @@ shorte.st, linkvertise.com , ouo.io Above are the supported URL Shorteners. Except these only some URL Shorteners are supported. ### Add more buttons (Optional Field) -Three buttons are already added including Drive Link, Index Link, and View Link, you can add extra buttons, if you don't know what are the below entries, simply leave them, don't fill anything in them. +Three buttons are already added including Drive Link, Index Link, and View Link, you can add extra buttons, if you don't know what are the below entries, simply leave them empty. - `BUTTON_FOUR_NAME`: - `BUTTON_FOUR_URL`: - `BUTTON_FIVE_NAME`: