Commit Graph

31 Commits

Author SHA1 Message Date
Chizuru 22e38bb099 few changes 2020-11-13 18:12:58 +05:30
jaskaranSM 53c34db027 Added cpu and ram usage in stats 2020-06-21 14:02:24 +05:30
Yash Garg 3f45ba6a73
Fix start message using f strings (#94)
Fixes #90
2020-05-28 08:23:02 +05:30
Nageen Chand b6b8a416e9
add ability to unzip files (#93)
handle unsupported request

use shell utils to extract archives

use shell utils to extract archives

update mirror calls for unzipmirror

fix extract location of files

install deps

handling if archive is not extracted correctly

typo fix

implement Extract Status

handle filenames with spaces

handle special character
2020-05-28 00:26:22 +05:30
Adnan Ahmad 9f5942deaa
Fixed Start message after changing HelpCommand (#90) 2020-05-23 16:57:02 +05:30
lzzy12 d3938784ac Remove broken direct download link extracters
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-05-09 00:10:09 +05:30
lzzy12 1d8c8ce954 restart: Clean downloads before restarting
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-05-09 00:05:35 +05:30
Youssif Shaaban Alsager b02990d9eb
restart: inform the user that restarting is complete (#67)
Signed-off-by: yshalsager <ysh-alsager@hotmail.com>
2020-04-25 21:13:25 +05:30
Youssif Shaaban Alsager 63a67d7a14
Add restart command (#53)
* Add restart command

This is handy when you need to restart the bot when something goes wrong.

Currently, the bot restarts but doesn't send a message after restarting
is done, feel free to improve this. It'll need something like storing
bot status locally then on bot start, if restart status exists send
a message.

Signed-off-by: yshalsager <ysh-alsager@hotmail.com>

* restart: switch to context based callbacks

* restart: restrict the command to owner only

Co-authored-by: Shivam Jha <jhashivam2020@gmail.com>
2020-04-21 15:33:05 +05:30
jaskaranSM d7bc8f3c9a switch to context based callbacks 2020-04-16 12:26:28 +05:30
lzzy12 e0f4c4347c Separate out youtube-dl command
- /watch [youtube-dl supported link]

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-04-14 23:20:52 +05:30
lzzy12 9369c7dc98 Allow mirroring tg file again once file download is complete
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-03-23 14:49:57 +05:30
lzzy12 e2e1453013 Fixup errors after rebase
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-12-23 16:17:57 +05:30
jaskaranSM 0d30f19a4e Project Rebase
- Changelog:
 Improved Performance
 Fixed Stucked Messages
 Seperated Download Progress Status From Listener
 Disabled Upload Progress (Temporarily)
2019-12-23 13:26:32 +05:30
jaskaranSM ac39b7e682
Added Missing Statement 2019-11-01 21:29:23 +05:30
jaskaranSM 3a3eca2411 Refactored disk to stats and added bot uptime
- Also helps tracking auto reboots on Heroku.
2019-11-01 21:18:46 +05:30
lzzy12 6ce2507c36 Implement /log command for easier debugging
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-14 20:50:35 +05:30
lzzy12 16886f5ac8 Make changing of bot commands easier
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-12 20:56:49 +05:30
lzzy12 ce16f77b6d Clean download directory on startup
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-07 23:17:09 +05:30
lzzy12 1761d16f70 Fix disk_usage size unit conversion logic
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-07 22:13:38 +05:30
lzzy12 80388249c5 Implement tar-mirror invoked by /tarmirror
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-07 22:13:38 +05:30
lzzy12 d36ba18a9f Categorise modules according to their jobs
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-07 22:13:38 +05:30
lzzy12 3a8f284186 Only allow authorized users to use the bot
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-06 23:18:16 +05:30
lzzy12 2447f7fc5c Add /disk command
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-09-29 20:29:21 +05:30
lzzy12 b69e009661 Add help and ping commands
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-09-29 19:37:02 +05:30
lzzy12 6d4cfcaf43 Implement cancel_mirror
* Only cancels downloads. Files already being uploaded can't be cancelled yet
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-09-28 22:09:07 +05:30
lzzy12 bce77735ce Fix dead locks due to while loop in multiple threads trying to access a shared state
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-09-28 02:21:01 +05:30
jaskaranSM 94fc5d0022 Added G-Drive List Feature 2019-09-27 20:15:02 +05:30
lzzy12 f0efb4357d Clean up downloads user requests bot shut-down
* Basically for Ctrl + C
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-09-26 18:30:43 +05:30
lzzy12 1c56b18724 Separated telegram related code from download upload related code
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-09-26 18:30:43 +05:30
lzzy12 21dacbc8fb Major project structure rebase
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-09-17 19:17:34 +05:30