TechOPGOHIL

Untitled

Apr 9th, 2023
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.22 KB | None | 0 0
  1. # RECOMMNED SETUP
  2. ## Setup only Required Config & DATABASE_URL
  3. ## Rest of variable can be setup using BOT by /bsetting command
  4.  
  5. # REQUIRED CONFIG
  6. BOT_TOKEN = "6178043804:AAHmqwi7iu609B0m5UlOiLIVyYy9AtO_xo8"
  7. OWNER_ID = "6192259156"
  8. TELEGRAM_API = "1001512"
  9. TELEGRAM_HASH = "1eyaeLHYt65NIQq2KLLhxTYFEyYp3Rikw"
  10.  
  11. # OPTIONAL CONFIG
  12. GDRIVE_ID = "1MhJGTqseISdOVfll9oU_JNFgf4gnL7Ba"
  13. DOWNLOAD_DIR = "/usr/src/app/downloads"
  14. STATUS_UPDATE_INTERVAL = "15"
  15. AUTO_DELETE_MESSAGE_DURATION = "60"
  16. AUTO_DELETE_UPLOAD_MESSAGE_DURATION = "60"
  17. DATABASE_URL = "mongodb+srv://anmol0700:anmol0700@cluster0.w3yrljw.mongodb.net/?retryWrites=true&w=majority"
  18. AUTHORIZED_CHATS = "-1001614442917"
  19. SUDO_USERS = "6192259156"
  20. IGNORE_PENDING_REQUESTS = "True"
  21. IS_TEAM_DRIVE = "True"
  22. USE_SERVICE_ACCOUNTS = "True"
  23. SA_MAIL = "" # SA Email id To display in USER TD Section
  24. INDEX_URL = "" # Not end with /
  25. STATUS_LIMIT = "3" # Recommended Value : 2 (If Using PICS)
  26. STOP_DUPLICATE = "True"
  27. CMD_SUFFIX = ""
  28. UPTOBOX_TOKEN = ""
  29. TORRENT_TIMEOUT = ""
  30. EXTENSION_FILTER = ""
  31. INCOMPLETE_TASK_NOTIFIER = "True"
  32. TGH_THUMB = "" # Give Telegraph URL(graph.org) for Logs/File Thumbnail
  33.  
  34. # Safe mode will stop showing file name in status, and enable bot pm and force bot pm automatically.
  35. SAFE_MODE = "" # Defaul is false
  36.  
  37. # TURN ON/OFF FUCTIONS
  38. LEECH_ENABLED = "True" # Default is False (only use by owner/sudo) Make it True (for authorized chats)
  39. MIRROR_ENABLED = "True" # Default is False (only use by owner/sudo) Make it True (for authorized chats)
  40. QB_MIRROR_ENABLED = "True" # Default is False (only use by owner/sudo) Make it True (for authorized chats)
  41. WATCH_ENABLED = "True" # Default is False (only use by owner/sudo) Make it True (for authorized chats)
  42. CLONE_ENABLED = "True" # Default is False (only use by owner/sudo) Make it True (for authorized chats)
  43. ANILIST_ENABLED = "True" # Default is False (only use by owner/sudo) Make it True (for authorized chats)
  44. WAYBACK_ENABLED = "True" # Default is False (only use by owner/sudo) Make it True (for authorized chats)
  45. MEDIAINFO_ENABLED = "True" # Default is False (only use by owner/sudo) Make it True (for authorized chats)
  46. SET_BOT_COMMANDS = "True"
  47.  
  48. # UPDATE
  49. UPSTREAM_REPO = "https://github.com/SN-Abdullah-Al-Noman/SN_WZML"
  50. UPSTREAM_BRANCH = "master"
  51. UPDATE_PACKAGES = "False"
  52.  
  53. # PM SUPPORT
  54. BOT_PM = "" # If this True/False any User can Enable/Disable BOT_PM by using Usetting
  55. FORCE_BOT_PM = "" # If this True then NO User can Enable/Disable BOT_PM by using Usetting
  56.  
  57. # LEECH
  58. LEECH_LOG = "-1001867060637" # Must be Started with -100xxxxxxx
  59. LEECH_LOG_URL = "https://t.me/+FdIh9wf-H0I4MDg1" # Use Invite link for PUBLIC/PRIVATE Leech log
  60. LEECH_LOG_INDEXING = "True" # Default is False make it True if you want leech file indexing in leech log channel
  61. LEECH_CAPTION = ""
  62. REMOVE_FILE_TAG = ""
  63.  
  64. # MIRROR
  65. ENABLE_USR_TD = "True" # If this TRUE then User can create its own TD Category
  66. MIRROR_LOGS = "-1001867060637" # Must be Started with -100xxxxxxx
  67. MIRROR_LOG_URL = "https://t.me/+FdIh9wf-H0I4MDg1" # Use Invite link for PUBLIC/PRIVATE Mirror log
  68. LINK_LOGS = "-1001867060637" # Must be Started with -100xxxxxxx
  69.  
  70. # OTHERS UTILS
  71. TG_SPLIT_SIZE = "" # Each User can set its own using usetting
  72. EQUAL_SPLITS = "" # Each User can Enable/Disable using usetting
  73. AS_DOCUMENT = "" # Each User can Change Document/Media using usetting
  74. PAID_SERVICE = "" # Default is False
  75. TIMEZONE = "Asia/Kolkata" # Checkout for Different timezone list https://bit.ly/2JtQfVI
  76.  
  77. # TELEGRAPH UI (graph.org)
  78. TITLE_NAME = ""
  79. AUTHOR_NAME = ""
  80. AUTHOR_URL = ""
  81. GD_INFO = ""
  82.  
  83. # MULTI FORCE SUBSCRIBE
  84. FSUB_IDS = "" # Each id Should be seperated by Space & ID must be started with -100xxxxxxx
  85.  
  86. # QBITORRENT
  87. BASE_URL = "https://heroku-v2-4554.herokuapp.com"
  88. WEB_PINCODE = ""
  89. QB_SEED = ""
  90.  
  91. # QUEUE SYSTEM NOTE: if you want to fill QUEUE_DOWNLOAD or QUEUE_UPLOAD, then QUEUE_ALL value must be greater than or equal to the greatest one and less than or equal to summation of QUEUE_UPLOAD and QUEUE_DOWNLOAD
  92. QUEUE_ALL = "" # Number(int) of parallel tasks of downloads from (mega, telegram, yt-dlp, gdrive) + all uploads
  93. QUEUE_DOWNLOAD = "" # Number(int) of parallel tasks of downloads from (mega, telegram, yt-dlp, gdrive)
  94. QUEUE_UPLOAD = "" # Number(int) of all parallel uploading tasks
  95.  
  96. # RSS (DATABASE_URL is Necessary for Rss)
  97. RSS_DELAY = "" # Default is 900
  98. RSS_COMMAND = "" # Command for the desired action eg. /mirror or /leech
  99. RSS_CHAT_ID = "-1001867060637" # Chat ID (Started with -100xxxxxxx) where rss links will be sent
  100. USER_SESSION_STRING = "" # Use it for 4GB leeching
  101.  
  102. # MEGA
  103. MEGA_API_KEY = ""
  104. MEGA_EMAIL_ID = ""
  105. MEGA_PASSWORD = ""
  106.  
  107. # SHORTENER
  108. SHORTENER = "" # Seperate multiple shortner with space
  109. SHORTENER_API = "" # Seperate multiple shortner API with space
  110.  
  111. # CRYPTS
  112. SAME_ACC_COOKIES = "False" # If using Different Account For Crypts set it to False (Deafult is True)
  113. GDTOT_CRYPT = "aDU1b2s1akc3QUd5ZXFZT2lZcUFrR3EwT3pLUloyNWhDYmhFdTVZcGI3cz0" # Crypt for GDTOT
  114. HUBDRIVE_CRYPT = "" # Crypt for HUBDRIVE
  115. KATDRIVE_CRYPT = "NDNhU0hrZUp0T001RElNTHFDQW5zelM5YmgxUmV3ODIwbFVwNEZHY0NTdz0" # Crypt for KATDRIVE
  116. KOLOP_CRYPT = "" # Crypt for KOLOP + DRIVEHUB
  117. DRIVEFIRE_CRYPT = "OHdxMDlDeldKQ0FSQWNFcmMzZCtuR0IwTUl3VUNrMVowcUZ6WVRMWTBNND0" # Crypt for DRIVEFIRE
  118. SHAREDRIVE_PHPCKS = "" # PHPCKS for SHAREDRIVE
  119. XSRF_TOKEN = "" # XSRF for SHARER.PW
  120. laravel_session = "" # laravel_session for SHARER.PW
  121.  
  122. # BOT LIMITS
  123. TOTAL_TASKS_LIMIT = "" # Limit Total Max Task At a time (int value)
  124. USER_TASKS_LIMIT = "" # Limit User Max Task At a time (int value)
  125. DAILY_TASK_LIMIT = "" # Max task a user can do in one day (int value)
  126. STORAGE_THRESHOLD = "" # Free Space that must be left in bot (int value without GB/MB)
  127. TORRENT_DIRECT_LIMIT = "" # Limit the size of torrent download (int value without GB/MB)
  128. ZIP_UNZIP_LIMIT = "" # Limit the size of Zip/Unzip (int value without GB/MB)
  129. CLONE_LIMIT = "" # Limit the size of Clone (int value without GB/MB)
  130. LEECH_LIMIT = "" # Limit the size of Leech (int value without GB/MB)
  131. YTDLP_LIMIT = "" # Limit the size of ytdlp download (int value without GB/MB)
  132. MAX_PLAYLIST = "" # Limit number of files for ytdlp playlist in leech (int value)
  133. MEGA_LIMIT = "" # Limit the size of MEGA links (int value without GB/MB)
  134. DAILY_MIRROR_LIMIT = "" # Max size upto which user can Mirror in one day (int value without GB/MB)
  135. DAILY_LEECH_LIMIT = "" # Max size upto which user can Leech in one day (int value without GB/MB)
  136. TIME_GAP = "-1" # Restrict User for accepting the consecutive link at a time (int value in seconds, -1 means no restriction)
  137. ZIP_LEVEL = "" # Zip Compression Level (int value) Default is 0 and single value . From 0 to 9 . Max is 9.
  138.  
  139. # PROGRESS SYMBOLS
  140. FINISHED_PROGRESS_STR = '▅' # Get Any from https://coolsymbol.com
  141. UN_FINISHED_PROGRESS_STR = '▁' # Get Any from https://coolsymbol.com
  142.  
  143. # THEME
  144. EMOJI_THEME = "True" #Default is False
  145. SHOW_LIMITS_IN_STATS = "True" #Default is false
  146.  
  147. # VIEW STYLE
  148. LIST_MODE = "" # List/Seach Result in Telegraph/Tg_Direct (Default is Telegraph)
  149.  
  150. # BRANDING
  151. CREDIT_NAME = "@gujjuopgohil"
  152.  
  153. # DYNAMIC IMAGES
  154. PICS = "" # Add multiple telgraph image links that are seperated by spaces
  155. WALLFLARE_SEARCH = "girls" # Put Keyword to Download Images from wallpaperflare.com, Seperate Multiple Words by + instead of space, eg: attack+on+titan
  156. WALLTIP_SEARCH = "girls" # Put Keyword to Download Images from wallpapertip.com, Seperate Multiple Words by - instead of space, eg: attack-on-titan
  157. WALLCRAFT_CATEGORY = "girls" # Put Category Name, Available: 3D, abstract, animals, anime, art, black, cars, city, dark, fantasy, flowers, food, holidays, love, macro, minimalism, motorcycles, music, nature, others, milies, space, sport, technologies, textures, vector, words
  158. PIXABAY_API_KEY = "" # Sign Up Pixabay.com and Get API Key to Automatically Add 200 Images in Photos List
  159. PIXABAY_CATEGORY = "" # Put Category Name, Available: backgrounds, fashion, nature, science, education, feelings, health, people, religion, places, animals, industry, computer, food, sports, transportation, travel, buildings, business, music
  160. PIXABAY_SEARCH = "" # Put Keyword to Download Images from Pixabay.com Limit : 100 characters
  161.  
  162. # FONT STYLE
  163. NAME_FONT = "code" # Default Name of File on Upload message, Available Options : b, code, i, u, strike, spoiler
  164. CAPTION_FONT = "code" # Default Caption of Leeched files, Available Options : b, code, i, u, strike, spoiler
  165.  
  166. # TEMPLATE ( Put in One Line )
  167. ANIME_TEMPLATE = "<b>{ro_title}</b>({na_title})\n<b>Format</b>: <code>{format}</code>\n<b>Status</b>: <code>{status}</code>\n<b>Start Date</b>: <code>{startdate}</code>\n<b>End Date</b>: <code>{enddate}</code>\n<b>Season</b>: <code>{season}</code>\n<b>Country</b>: {country}\n<b>Episodes</b>: <code>{episodes}</code>\n<b>Duration</b>: <code>{duration}</code>\n<b>Average Score</b>: <code>{avgscore}</code>\n<b>Genres</b>: {genres}\n<b>Hashtag</b>: {hashtag}\n<b>Studios</b>: {studios}\n\n<b>Description</b>: <i>{description}</i>"
  168. IMDB_TEMPLATE = "<b>Title: </b> {title} [{year}]\n<b>Also Known As:</b> {aka}\n<b>Rating ⭐️:</b> <i>{rating}</i>\n<b>Release Info: </b> <a href='{url_releaseinfo}'>{release_date}</a>\n<b>Genre: </b>{genres}\n<b>IMDb URL:</b> {url}\n<b>Language: </b>{languages}\n<b>Country of Origin : </b> {countries}\n\n<b>Story Line: </b><code>{plot}</code>\n\n<a href='{url_cast}'>Read More ...</a>"
  169.  
  170. # DIFFERENT BOT BUTTONS
  171. SAVE_MSG = ""
  172. DISABLE_DRIVE_LINK = ""
  173. VIEW_LINK = ""
  174. SOURCE_LINK = ""
  175. START_BTN1_NAME = ""
  176. START_BTN1_URL = ""
  177. START_BTN2_NAME = ""
  178. START_BTN2_URL = ""
  179. BUTTON_FOUR_NAME = ""
  180. BUTTON_FOUR_URL = ""
  181. BUTTON_FIVE_NAME = ""
  182. BUTTON_FIVE_URL = ""
  183. BUTTON_SIX_NAME = ""
  184. BUTTON_SIX_URL = ""
  185.  
  186. # TORRENT SEARCH
  187. SEARCH_API_LINK = ""
  188. SEARCH_LIMIT = ""
  189. SEARCH_PLUGINS = '["https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/rarbg.py",
  190. "https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/piratebay.py",
  191. "https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/legittorrents.py",
  192. "https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/limetorrents.py",
  193. "https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/torrentscsv.py",
  194. "https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/zooqle.py",
  195. "https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/eztv.py",
  196. "https://raw.githubusercontent.com/MaurizioRicci/qBittorrent_search_engines/master/kickass_torrent.py",
  197. "https://raw.githubusercontent.com/MaurizioRicci/qBittorrent_search_engines/master/yts_am.py",
  198. "https://raw.githubusercontent.com/MadeOfMagicAndWires/qBit-plugins/master/engines/linuxtracker.py",
  199. "https://raw.githubusercontent.com/MadeOfMagicAndWires/qBit-plugins/master/engines/nyaasi.py",
  200. "https://raw.githubusercontent.com/LightDestory/qBittorrent-Search-Plugins/master/src/engines/ettv.py",
  201. "https://raw.githubusercontent.com/LightDestory/qBittorrent-Search-Plugins/master/src/engines/glotorrents.py",
  202. "https://raw.githubusercontent.com/LightDestory/qBittorrent-Search-Plugins/master/src/engines/thepiratebay.py",
  203. "https://raw.githubusercontent.com/nindogo/qbtSearchScripts/master/magnetdl.py",
  204. "https://raw.githubusercontent.com/khensolomon/leyts/master/yts.py"]'
  205.  
  206.  
  207.  
  208.  
  209.  
  210. #MIRROR RELATED : (Commands)
  211. START_COMMAND = "start1" #Default is "start"
  212. MIRROR_COMMAND = "mirror1" #Default is "mirror"
  213. ZIP_COMMAND = "zipmirror1" #Default is "zipmirror"
  214. UNZIP_COMMAND = "unzipmirror1" #Default is "unzipmirror"
  215. CANCEL_COMMAND = "cancel1" #Default is "cancel"
  216. LIST_COMMAND = "list1" #Default is "list"
  217. SEARCH_COMMAND = "search1" #Default is "search"
  218. STATUS_COMMAND = "status1" #Default is "status"
  219. STATS_COMMAND = "stats1" #Default is "stats"
  220. HELP_COMMAND = "help1" #Default is "help"
  221. CLONE_COMMAND = "clone1" #Default is "clone"
  222. COUNT_COMMAND = "count1" #Default is "count"
  223. YTDL_COMMAND = "ytdl1" #Default is "ytdl"
  224. YTDLZIP_COMMAND = "ytdlzip1" #Default is "ytdlzip"
  225. QBMIRROR_COMMAND = "qbmirror1" #Default is "qbmirror"
  226. QBZIP_COMMAND = "qbzipmirror1" #Default is "qbzipmirror"
  227. QBUNZIP_COMMAND = "qbunzipmirror1" #Default is "qbunzipmirror"
  228. BTSELECT_COMMAND = "btsel1" #Deafault is "btsel"
  229.  
  230. #LEECH RELATED : (Commands)
  231. LEECH_COMMAND = "leech1" #Default is "leech"
  232. LEECHSET_COMMAND = "leechset1" #Default is "leechset"
  233. SETTHUMB_COMMAND = "setthumb1" #Default is "setthumb"
  234. UNZIPLEECH_COMMAND = "unzipleech1" #Default is "unzipleech"
  235. ZIPLEECH_COMMAND = "zipleech1" #Default is "zipleech"
  236. QBLEECH_COMMAND = "qbleech1" #Default is "qbleech"
  237. QBUNZIPLEECH_COMMAND = "qbunzipleech1" #Default is "qbunzipleech"
  238. QBZIPLEECH_COMMAND = "qbzipleech1" #Default is "qbzipleech"
  239. YTDLLEECH_COMMAND = "ytdlleech1" #Default is "ytdlleech"
  240. YTDLZIPLEECH_COMMAND = "ytdlleechzip1" #Default is "ytdlleechzip"
  241.  
  242. #SUDO COMMANDS
  243. AUTH_COMMAND = "authorize1" #Default is "authorize"
  244. UNAUTH_COMMAND = "unauthorize1" #Default is "unauthorize"
  245. ADDSUDO_COMMAND = "addsudo1" #Default is "addsudo"
  246. RMSUDO_COMMAND = "rmsudo1" #Default is "rmsudo"
  247. RESTART_COMMAND = "restart1" #Default is "restart"
  248. SPEED_COMMAND = "speedtest1" #Default is "speedtest"
  249. USERS_COMMAND = "users1" #Default is "users"
  250. PAID_COMMAND = "paid1" #Default is "paid"
  251. ADDPAID_COMMAND = "addpaid1" #Default is "addpaid"
  252. RMPAID_COMMAND = "rmpaid1" #Default is "rmpaid"
  253. CANCEL_ALL_COMMAND = "cancelall1" #Default is "cancelall"
  254. LOG_COMMAND = "log1" #Default is "log"
  255. DELETE_COMMAND = "del1" #Default is "del"
  256. USAGE_COMMAND = "usage1" #Default is "usage"
  257. RSSLIST_COMMAND = ""
  258. RSSGET_COMMAND = ""
  259. RSSSUB_COMMAND = ""
  260. RSSUNSUB_COMMAND = ""
  261. RSSSET_COMMAND = ""
  262. SHELL_COMMAND = ""
  263. EXEHELP_COMMAND = ""
  264.  
  265. #EXTRA COMMANDS
  266. SCRAPE_COMMAND = "scrape1" #Default is "scrape"
  267. PING_COMMAND = "ping1" #Default is "ping"
  268. SPEEDTEST_COMMAND = "speedtest1" #Default is "speedtest"
  269. MEDIAINFO_COMMAND = "mediainfo1" #Default is "mediainfo"
  270. HASH_COMMAND = "hash1" #Default is "hash"
  271. WAYBACK_COMMAND = "wayback1" #Default is "wayback"
  272. BOT_SETTING = "bsetting1" #Default is "bsetting"
  273. USERSET_COMMAND = "usetting1" #Default is "usetting"
Add Comment
Please, Sign In to add comment