Skip to content
/ Dr.Torrent Public template
forked from eaustin6/Dr.Torrent

The most Powerful and Advanced Bot to Handle almost everything for which you want a telegram bot!

Notifications You must be signed in to change notification settings

mlwbd/Dr.Torrent

 
 

Repository files navigation

Dr.Torrent Bot (Advanced! 😊)

The most Powerful and Advanced Bot to Handle almost everything for which you want a telegram bot!

📑Features

My bot comes with tones of Features!🔥 What I say is What I have done! Masterminded to most unique and complex features & options. Please sit before reading this.😂

1.Download Torrent using magnet link or Torrent File.🙂

2.Watch Torrent Without Downloading.😁

3.Multi Engine Support like aric and qBitorrent.😗

4.Run Python code from Bot itself.🤗

5.Set/Edit/Remove custom config vars from bot itself.🤩

6.Clone Google Drive File or Folder using or even My Drive or Shared Drive at once.😏

7.Download YouTube Videos or even playlist with custom name.😝

8.InBuilt Torrent Search features.🔍

9.Download GDTOT link.😘

10.Support all Direct Links to download.🥰

11.100% Ban proof including heroku account.😍

12.Authorize or sudo users by using special commands given in the Bot itself.😙

13.Pack files or Folder from Google Drive or any other direct link into Zip or Tar.⚙️

14.Extract all varity of formats.🤗

15.Mega Links support.🙃

16.Uptobox Support.😲

17.Automated Link Shortener.🔗

18.Upload/extract/pack your Telegram files to Google Drive.🗳️

19.Set custom limit for each & every function.♾️

20.Integreated Speed test including ping.📈

21.INDEX Link Support.📋

22.Make your own custom buttons.🪡

23.More than 50+ Error detectors.🕶️

24.More than 10 Help Commands to help owner itself.🎛️

25.Optimized for Heavy load.🪄

26.Automatic Cache Clear.🗃️

27.Log Generator.📇

28.Special Execution help.🧩

29.Select which files need to be downloaded from Torrent.🕹️

30.Specially developed for Groups.🤗

31.Search Files in Google Drive.🗂️

🖥️ How to use?

There is no need to deploy your own Bot! You can use this Bot immediately on Telegram or ask you query and problems : Dr.Torrent

📥Download Torrents

The ability to download Torrents using telegram bot is too common this days!🥱 But I think why not do anything different that will amaze everyone.😲 This Bot comes with the ability to download Torrents either through Torrent File or Magnet Link, with Multi-Engine support like Aric and qBitorrent and User have the ability to choose anyone of the best Engine to download torrent more speedily and easily.🔥But it is not enough to make users experience comfortable, So I have added option through which Users can select files which needs to be downloaded from a Torrent and hence dividing the load! But wait... large number of users like to watch Movies and they need to download movies from there torrent but it is not required anymore, You can watch Movies or Files from a torrent without downloading it to your Device.👁️‍🗨️

📚Clone File/Folder(s)

Now all of us know! That making copy of files from one location to another location in Google Drive is to defficult task to perform manually.😣Yeah! I have got you covered!😋 This bot can even clone File/Folders or My Drive or Shared Drive at once! If deployed on Heroku's Ecosystem then bot can provide even 2GB/s and can max clone 2TB at once.For cloning anything bot does't requires much thing! Just the link of File/Folder and that sit.🔗

🕹️Set Config Vars

In deployment of every Bot🤖, Owner of the Bot needs to provide or review additional information to Bot so that it can work perfectly and perform heavy tasks but sometimes we (including me also!😀) do some mistakes is it, and hence required to change it by going again and again to site from where we have deployed it. But now its no more.😊 Owners can set/edit/remove the already set config vars value using Bot itself and bot will automatically restart itself to immediately take those changes in effect!

♻️Automated Update

When you commit changes in your repository of Bot, then you have to deploy your bot again and again to see the changes you have made in your UPSTREAM REPOSITORY, But not anymore! This bot have the ability to update itself from the repository it is deployed. For best performance always set Official Repository to update with and master branch from which the changes need to be fetched!

🔗Links

This Bot is just a master in managing link too!😘After processing any file this Bot provides the User with Links to access there files, but it can also make them short and easy to remember with using large number of services of which the owner provide it API and URL. This bot can even download and upload Mega Links or UptoBox Link and can upload them to Google Drive.This Bot can mirror all Direct Download Link it does not matter which service! just provide direct download link.Users can use even GDTOT links for cloning there files or folders through this bot even more faster!🙂

📛 Ban Proof

Now I don't need to explain this much!🤣 The name is self-explaning, If you already deployed your Bots before this on Heroku then you can understand that, sometimes they ban your Account or Suspend deployed bot or app. But you don't have to face that problem anymore! This bot is developed with heavy functions and scripts which can prevent this bot even from critical detection! While handling heavy loads, this bot can restart itself to prevent blockage of your Heroku Account. If still heavy load is not given then bot will restart itself automatically after 24 Hours.This is also a part of Performance optimization, which you will read in next section.

⚡Optimizations

When we talk about optimizations! Then almost all things requires it! including bots. This bot also comes with features like auto omptimization and clear cache. There all lots of Commands are already provided in this bot which can be runned by Owners only! Even to boost the performance of this bot, I have added some conditions like if the disk space is get full then bot will automatically cancel the progress before processing it so that only those works can be done which is possible at that time. Bot automatically calculates that how much storage space is required for whole task and deductes it from the Total space so that if the task requires more space than the available once then bot will automatically cancel it without causing any error in others.

🔎 Torrent Search

The ability for searching torrent is must for every Torrent leeching bot! and Don't worry, This bot have it. Users can search torrents within bot using Sukebei and nyaasi. I am going to add more Torrent Search options like Pirate bay in the future. For Searching Torrent users can use either "/sukebei Your Query" or "/nyaasi Your Query" to search any Magnet link or Torrent File and can directly use it through the given commands.But wait! This feature is not limited to it, Bot can show total size of torrent and average seeders and leechers that torrent file can provide.And it arrange the fastest Torrent to the top of the list and slowest torrent to the end of the list.

🎬 YouTube Videos Download

Downloading Videos from the most popular Video Streaming platform YouTube is just an amazing idea! Dr.Torrent Bot can also download video or even complete YouTube Playlist with custom quality and custom name. Users can also create the zip or tar of Videos downloaded from YouTube directly to Google Drive. The command for downloading it is just simple, "/watch YouTube Video or Playlist Link Quality | Custom Name" , However entering Quality and Custom name is totally optional but if you want to give custom name then you first need to write "|" before it. If you do not enter the quality then Bot will automatically download it in maximum quality the video available in.

🔒 Authorization and Promotion

By using this Bot, Owner have the ability to promote or demote a user to Sudo or even Authorize or Unauthorize it so that it can use the bot. This feature is developed in keeping it in mind that it can also be used in large groups. Owner can also authorize a particular chat in which the bot should be used by just using "/auth Group ID" or if the owner authorize a particular user then it can also use the bot in personal chat. Adding Users as sudo provide them the ability to restart and update the bot but however only Owner can see the config vars. Or to authorize or promote a user then take the message of that user or its ID and send "/auth User ID" or "/auth taking the msg as reply" or "/addsudo USER ID" or "/addsudo taking the msg as reply".

🔩 Packing and File Extraction

Dr.Torrent Bot have the powerful ability to pack files from Google Drive, Direct Link and Telegram and upload it to Google Drive into .zip or .tar format. The Bot can almost extract any file format easily and fastly without any data corruption.Now for your general information! The compression ratio of .zip format is too low while the compression ratio of .tar file is high! In a recent test which was conducted by me shows that converting a .mp4 file of approx size 2GB into .zip can get its size deducated by only 20 or 30 Kbs while if converted into .tar then there is huge size difference in the actual size and in final output size which was 1.34GB (.Approx) and here is the list of formats which can be easily extracted by the bot:
ZIP, RAR, TAR, 7z, ISO, WIM, CAB, GZIP, BZIP2,
APM, ARJ, CHM, CPIO, CramFS, DEB, DMG, FAT,
HFS, LZH, LZMA, LZMA2, MBR, MSI, MSLZ, NSIS,
NTFS, RPM, SquashFS, UDF, VHD, XAR, Z.

🛠️ Customizations

Large Numbers of customizations are provided in the Bot or during the Deployment of the Bot. Onwers can customize each functions as per there needs, they can also create limitations for each functions if the Bot's going to be deployed for large groups. Owners can use there Google Drive Inde with this Bot! The bot will automatically provide the user Index link of file after uploading it. There is no need to do it manually.Bot can automatically detects the Error and tell the Error code and text for a particular situations there are already 50+ Error detectors are added to the bot to help Owner and User to get what the problem is and how to fix it.

🪧 Commands

Here is the full list of Commands which are available in Bot! Some commands should be used as the reply or with the content discussed as above!

/hlp: If this Command is used by Users then it will show commands which can be used by them only! But if used by owners then full list will be shown.
---
/mirror: This Command can be used as reply for Torrent File/Magnet Link or Direct Download Link or Telegram files to download them and to upload it to Google Drive. If used for downloading torrents then it will use aric as the Download Engine.
---
/mirror qb: This command can only be used for Torrents! It will guide Bot to use qBitorrent to download torrent either from file or Magnet Link.
---
/mirror qbs: This command will guide Bot to use qBitorrent to download Torrent and provide Users choice to Select files before downloading it from Torrent.
---
/tar: This Command can be used with Direct download link or Telegram Files or Google Drive Link to pack them into .tar format.
---
/zip: This Command can be used with Direct download link or Telegram Files or Google Drive Link to pack them into .zip format.
---
/unzip: This Command can be used with Direct download link or Telegram Files or Google Drive Link to unpack them from .zip format.
---
/clone: This Command can be used to clone Files from a Google Drive Shared Link.
---
/count: This Command can be used to get the actual size of Shared Drive/My Drive/Folder or a particular file and number of files present in it. Send the Google Drive link with the command
---
/del: This Command should be used with Google Drive link provided by the Bot itself to delete it!
---
/watch: This Command should be used to Download YouTube Videos or Playlist links. The complete syntax of this command is written in above section.
---
/tarwatch: This Command should be used to Download YouTube Videos or Playlist links and pack them into .tar format.
---
/cancel: Reply to the message by which the download was initiated and that download will be cancelled or send it with cancel ID
---
/cnlall: Cancel all running tasks, it can only be used by Owner.
---
/list [Your Query Here]: This command should be used to search anything in your Google Drive or Shared Drive with search term. The Search result will be shown on Telegraph.
---
/status: Shows a status of all the downloads
---
/stat: Show Stats of the machine the bot is hosted on
---
/ping: Check how long it takes to Ping the Bot
---
/auth: Authorize a chat or a user to use the bot (Can only be invoked by Owner & Sudo of the bot)
---
/unauth: Unauthorize a chat or a user to use the bot (Can only be invoked by Owner & Sudo of the bot)
---
/users: Show authorized users (Only Owner & Sudo)
---
/addsudo: Add sudo user (Only Owner)
---
/rmsudo: Remove sudo users (Only Owner)
---
/restart: Restart the bot
---
/log: Get a log file of the bot. Handy for getting crash reports
---
/config: Get Info Menu about bot config (Owner Only)
---
/update: Update Bot from Upstream Repo (Owner Only)
---
/speedtest: Check Internet Speed of the Host
---
/shell: Run commands in Shell (Terminal)
---
/exechelp: Get help for Executor module (Only Owner)
---
/gdtot: Send GDTOT link along with command

🖥️ How to use?

There is no need to deploy your own Bot! You can use this Bot immediately on Telegram or ask you query and problems : Dr.Torrent

🎮 Deployment

1.Before doing anything upload your Service Accounts is Token.picker,Credentals and Account folder containing the details of 100 Service Accounts to the repo you forked from this one! and keep it private.

Heroku

Deploying this Bot to Heroku is much easier than you think! I provided you different ways to do the samething!

Using Config File

1.First Copy the code from Config.env file: Show Code!

2.Now paste that code in any Text Editor like Notepad and fill the values as guided in itself. If you have any doubt then ask or test the Bot Here

3.Then copy the final code after filling and paste it here and at place of name type "config.env" and click the Raw Button and copy the Url to it

4.After that go to your forked Repository settings which you forked from this one and click secrets and create 4 Secreat from the following NAMES:
1.HEROKU_EMAIL: Enter your Heroku EMAIL ID in small.
---
2.HEROKU_API_KEY: Enter your Heroku API ID.
---
3.HEROKU_APP_NAME: Enter a unique app name.
---
4.CONFIG_FILE_URL: Enter Config.env file url which you copied from above step

5.Now go to actions tab and run Workflow and let it deployed on Heroku

Without Config File

1.Just create the above secret on your forked repository except CONFIG_FILE_URL

2.Run the Workflow and go to Heroku dashboard and then click Settings tab.

3.Click Reveal Vars and fill the variable given in config file above

On VPS

Get the Code from Here

❗Warning! This Repository is only for Developers and Development purpose only❗

❤️Credits & Thanks

Dr.Caduceus: For making this Powerful Bot.

About

The most Powerful and Advanced Bot to Handle almost everything for which you want a telegram bot!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.8%
  • Shell 4.0%
  • Other 0.2%