Commit Graph

86 Commits

Author SHA1 Message Date
Hafitz Setya 31c7246369
v4.8.5
- bot: Add config to handle pending requests when bot restarts
- Add Video Tutorial by xgorn
- Tidying up

Co-authored-by: KenHV <yo@kenharris.xyz>
2021-06-13 09:01:27 +07:00
Anas a57610f27e
fix direct links limit and some changes (#169) 2021-06-13 08:26:41 +07:00
Anas 5807abfa82
Update ptb and small fix 2021-06-12 09:11:18 +07:00
Hafitz Setya c40cc9fb85
revert
* Update README.md

* Update __init__.py

* Update __main__.py

* Update config_sample.env

* Update app.json
2021-06-11 05:08:52 +07:00
Hafitz Setya 3f5065cc71
bot: Add config to handle pending requests when bot restarts
Whenever the bot restarts, it immediately starts responding to all the
commands that wasn't handled when the bot wasn't on. This obviously can
cause issues, so let's add a config to disable this behaviour.

Co-authored-by: KenHV <yo@kenharris.xyz>
2021-06-10 14:11:36 +07:00
Anas e41d443c0c
stop duplicate mega and mega limit (#151)
* stop duplicate mega and mega limit

* fix msg not deleted
2021-06-10 08:27:47 +07:00
Anas 8694f9bb12
stop duplicate clone, view link optional and some changes (#147) 2021-06-09 12:03:36 +07:00
Hafitz Setya ea8e2299ec
Tidying up & Add credits for Anas 2021-06-08 06:38:26 +07:00
Anas 5ec9688b12
clone limit option (#142) 2021-06-08 06:05:36 +07:00
Hafitz Setya 9c13a526b6
Some change for custom buttons 2021-06-06 11:40:58 +07:00
Hafitz Setya b45849f714
IMG 2021-06-05 17:50:16 +07:00
Hafitz Setya efb6c07fdd
v4.8.3
- Added uptime in /status
- Added cc in /count
- Fix error if not field IMAGE_URL in config.env
- Tidying up
2021-06-05 17:48:44 +07:00
Hafitz Setya a392a037b7
change back 2021-06-01 12:08:04 +07:00
Hafitz Setya 8b970c2f84
revert 2021-06-01 07:40:23 +07:00
Anas 31bfcabc92
Added Count cmd and some changes (#111) 2021-05-31 10:07:03 +07:00
Hafitz Setya 6df4486ca5
v4.7.5 (#94)
- Added sudo using database
NOTE: redeploy recommended to generating database, or you can go to your herokuapp > resources > add-ons > then serach Heroku Postgres > hit Submit Order Form, then copy your database url from DATABASE_URL > Heroku config vars
- mirror: Fix for uploading telegram file_name of None type
- gdriveTools: Fix infinite loop when hitting rate limits

Co-authored-by: Sreeraj V R <SVR666@users.noreply.github.com>
Co-authored-by: Gautam Kumar <gautamajay52@gmail.com>
Co-authored-by: KenHV <yo@kenharris.xyz>
2021-05-17 15:36:46 +07:00
Hafitz Setya 9d969f3ab6
v4.7.4
- Remove stickers search, cuz broken
- Added SUDO_USER

Co-authored-by: jovanzers <jovanzers@gmail.com>
2021-05-14 17:34:27 +07:00
Hafitz Setya 9612d9994b
v4.7.1 (#82)
- Revert to megasdk
- Added Estimated Dyno Expired in usage command

Co-authored-by: Ncode2014 <Ncode2014@users.noreply.github.com>
2021-05-08 14:20:12 +07:00
Aidil Aryanto 289a42787f
Add var for custom image (#56)
- Add var for custom image
- custom img: improve and set default var

Signed-off-by: aidilaryanto <aidilaryanto18@gmail.com>
Co-authored-by: Hafitz Setya <71178188+breakdowns@users.noreply.github.com>
2021-04-29 09:32:46 +07:00
Hafitz Setya c141d2be22
Enable faulthandler
Co-authored-by: jaskaranSM <jaskaranSM@users.noreply.github.com>
2021-04-28 19:53:14 +07:00
Hafitz Setya 684ef8120c
Ingfo 2021-04-27 06:12:49 +07:00
Hafitz Setya 0e583811e4
Mega: Fixed mega in anonymous mode
Co-authored-by: Shivam Jha <lzzy12@users.noreply.github.com>
2021-04-26 21:29:52 +07:00
Hafitz Setya 2ed3557bff
Oof 2021-04-26 16:19:12 +07:00
Hafitz Setya 6f2080b7f7
v4.6.9 (#66)
- Merged mega-rest from lzzy
- Fix /watch download msg progress
- Change auto stop to 20 minute
- Fix stop duplicate mirror (#65)
- Fix tar name
- Change tracker

Co-authored-by: Shivam Jha <lzzy12@users.noreply.github.com>
Co-authored-by: Dev Singh Rajput <magneto261290@users.noreply.github.com>
Co-authored-by: FA Tulloh <77918734+yourtulloh@users.noreply.github.com>
2021-04-26 16:14:40 +07:00
Hafitz Setya 4fa3f74a36
v4.6.5 (#50)
- Remove USE_TELEGRAPH, cuz its causes some issue
- Added support group link in /repo command
2021-04-14 15:13:34 +07:00
Hafitz Setya 464d6fa39d
v4.6.4 (#48)
- Change Heroku button
- Some change in MAX_TORRENT_SIZE

Co-authored-by: BruteWoorse <brutewooorse@users.noreply.github.com>
2021-04-12 19:33:29 +07:00
Hafitz Setya 264b4dbc7c
v4.6.3 (#47)
- Added /authlist command, to see Authorized list
- Add ability to limit when mirroring torrent
- Fixed Zippyshare

Co-authored-by: Sreeraj V R <SVR666@users.noreply.github.com>
Co-authored-by: BruteWoorse <brutewooorse@users.noreply.github.com>
Co-authored-by: KenHV <yo@kenharris.xyz>
2021-04-12 10:47:06 +07:00
Hafitz Setya 174d96b4d4
v4.6.1 (#41)
- Tidying up
2021-04-05 18:22:25 +07:00
Hafitz Setya 9e8a706ecf
v4.6 (#40)
-  Fixed cannot change locale (en_US.UTF-8)
-  Update /repo command
-  Logger when restarting
-  Using Telegra.ph for /list search results optional.
Thanks to ksssomesh12
2021-03-29 10:14:36 +07:00
Hafitz Setya eefcef0495
v4.5 (#39)
- Added /repo command
- Added some emoji
- Remove Encryption
- Cleanup code
2021-03-27 11:26:54 +07:00
Hafitz Setya 8610fec2ba
Update __init__.py 2021-03-23 09:07:16 +07:00
Hafitz Setya a0a2e52023
Update __init__.py 2021-03-23 09:04:20 +07:00
Hafitz Setya e54c041627
Some fixes for vps user (#32) 2021-03-23 08:59:34 +07:00
Hafitz Setya 44bfe96364
v4.0 (#23)
- Added /usage command to see heroku dynos
2021-03-11 16:57:22 +07:00
Hafitz Setya 1d809560d5
v3.9 (#19)
- Added option to block mega folder support
2021-03-10 08:46:46 +07:00
Hafitz Setya 2ba98ac0de
v3.7 (#14)
- Added Uptobox support
- Check file in drive before mirror and stop duplicate mirror
2021-03-06 09:35:15 +07:00
Hafitz Setya 4d59931629
v3.6 (#13)
- Added extra buttons
2021-03-05 11:47:04 +07:00
Hafitz Setya df192e4145
v3.5 (#12)
- Added quality option in /watch command
- Added url Shorteners support (Optional)
- Random name while generating Telegraph Token
2021-03-04 06:30:32 +07:00
Hafitz Setya 35ad3e524e
v2.5 (#10)
- /list command now results will be uploaded to telegra.ph
- Auto generate Telegraph Token
- Added Inline Buttons
- Update /stats command
2021-03-03 09:12:39 +07:00
Hafitz Setya 77904d77f0
v2.5 (#9)
* Added mega.nz support
* Added option to disable mega.nz links
* Some fixes and optimization
2021-03-01 07:44:54 +07:00
Hafitz Setya b8aac403b3
Added AUTHORIZED_CHATS in config & auto generate String Session (#3)
* Added AUTHORIZED_CHATS in config

* Update config_sample.env

* Update app.json

* Update __init__.py

* Update config_sample.env

* Delete generate_string_session.py

* Update app.json

* Delete authorized_chats.txt

* Oof

* Update README.md

* Forget

* Update README.md

* Update README.md
2021-02-15 08:03:25 +07:00
blank x 11bd13a756 add nyaa and sukebei torrent search function 2020-11-28 21:31:05 +05:30
jaskaranSM 0096b6328c Revert "Implement mega.nz support"
This reverts commit 45f75fb7a6.
2020-07-31 20:06:01 +05:30
lzzy12 45f75fb7a6 Fix crash if Mega API key is not provided
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-06-19 15:34:18 +05:30
lzzy12 8bd01276be Add ability to login to mega account for premium accounts
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-06-03 11:32:09 +05:30
lzzy12 df655a356c Import mega api key from config.env file
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-05-28 21:03:15 +05:30
lzzy12 f4290210b1 Implemented mirror ownership
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-05-14 19:02:33 +05:30
jaskaranSM d7bc8f3c9a switch to context based callbacks 2020-04-16 12:26:28 +05:30
jaskaranSM be9c64a9aa Use Service Accounts for Cloning if availble.
- increase default timeout for network socket interface

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-03-25 18:00:33 +05:30
lzzy12 7ad7d9388a Add support for service account
Adding support service accounts

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>

Added scripts and docs for generating service accounts

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>

gen_sa_accounts: Save credentials with indexed file name

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>

gdriveTools: Avoid using oauth2 library for service accounts

oauth2 library is deprecated

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-03-24 15:04:24 +05:30