From f0bd39216b66cf6a25dc293670f55e1d9bde14ce Mon Sep 17 00:00:00 2001
From: Erich Von Daniken
<65355700+ErichDanikenOfficial@users.noreply.github.com>
Date: Sat, 30 May 2020 12:26:53 +0530
Subject: [PATCH 1/6] Removed unwanted condition
---
plugins/rename_file.py | 7 -------
1 file changed, 7 deletions(-)
diff --git a/plugins/rename_file.py b/plugins/rename_file.py
index 16267d62e..c70d61bbc 100644
--- a/plugins/rename_file.py
+++ b/plugins/rename_file.py
@@ -80,13 +80,6 @@ async def rename_doc(bot, update):
)
except:
pass
- if "IndianMovie" in the_real_download_location:
- await bot.edit_message_text(
- text=Translation.RENAME_403_ERR,
- chat_id=update.chat.id,
- message_id=a.message_id
- )
- return
new_file_name = download_location + file_name
os.rename(the_real_download_location, new_file_name)
await bot.edit_message_text(
From 8553cd3b67da56a514b9e4eae80c6c68b7ef510c Mon Sep 17 00:00:00 2001
From: Erich Von Daniken
<65355700+ErichDanikenOfficial@users.noreply.github.com>
Date: Sat, 30 May 2020 12:37:46 +0530
Subject: [PATCH 2/6] Update progress bar time limit
---
helper_funcs/display_progress.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/helper_funcs/display_progress.py b/helper_funcs/display_progress.py
index e2f1b32fb..65fb1d0b6 100644
--- a/helper_funcs/display_progress.py
+++ b/helper_funcs/display_progress.py
@@ -31,7 +31,7 @@ async def progress_for_pyrogram(
):
now = time.time()
diff = now - start
- if round(diff % 10.00) == 0 or current == total:
+ if round(diff % 5.00) == 0 or current == total:
# if round(current / total * 100, 0) % 5 == 0:
percentage = current * 100 / total
speed = current / diff
From a4d5e00934fff2ff6af5834a1b76179e227514e4 Mon Sep 17 00:00:00 2001
From: SHER321 <66766275+SHER321@users.noreply.github.com>
Date: Thu, 11 Jun 2020 20:47:03 +0530
Subject: [PATCH 3/6] Update translation.py
---
translation.py | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/translation.py b/translation.py
index 5267c9968..8475f61e9 100644
--- a/translation.py
+++ b/translation.py
@@ -2,7 +2,7 @@ class Translation(object):
START_TEXT = """Hello,
This is a Telegram Rename Bot!
-Please send me any Telegram file and reply to that file to /rename New Name.mkv
+Please send me any Telegram file and reply to that file to /rename New Name.mkv @ALL_MOVIES_LIABRARY
/help for more details.."""
RENAME_403_ERR = "Sorry. You are not permitted to rename this file."
@@ -14,7 +14,7 @@ class Translation(object):
AFTER_SUCCESSFUL_UPLOAD_MSG = "**Thank you for Using Meπ€.**"
AFTER_SUCCESSFUL_UPLOAD_MSG_WITH_TS = "Downloaded in {} seconds.\nUploaded in {} seconds."
NOT_AUTH_USER_TEXT = "Please /upgrade your subscription."
- NOT_AUTH_USER_TEXT_FILE_SIZE = "Detected File Size: {}. Free Users can only upload: {}\nPlease /upgrade your subscription.\nIf you think this is a bug, please contact @SpEcHlDe"
+ NOT_AUTH_USER_TEXT_FILE_SIZE = "Detected File Size: {}. Free Users can only upload: {}\nPlease /upgrade your subscription.\nIf you think this is a bug, please contact @NGYNY"
SAVED_CUSTOM_THUMB_NAIL = "Custom File thumbnail saved. This image will be used in the File."
DEL_ETED_CUSTOM_THUMB_NAIL = "β
Custom thumbnail cleared succesfully."
FF_MPEG_DEL_ETED_CUSTOM_MEDIA = "β
Media cleared succesfully."
@@ -27,20 +27,20 @@ class Translation(object):
1. Send me any Telegram File.
2. Reply to that message to /rename new name.extension.
-π Create own Clone Bot : π Diploy
+π JOIN OUR CHANNEL : π Channel
--------
-Support Group : @InFoTelGroup
-Β© @SpEcHlDe @TGBotsZ"""
+Support Group : @MOVIERG_NGY
+Β© @MOVIERG_NGY @ALL_MOVIES_LIABRARY"""
REPLY_TO_DOC_FOR_RENAME_FILE = "Reply to a Telegram media to `/rename New Name.extension` with custom thumbnail support.."
ABUSIVE_USERS = "You are not allowed to use this bot. If you think this is a mistake, please check /me to remove this restriction."
FREE_USER_LIMIT_Q_SZE = """Cannot Process.
-Free users only 1 request per 30 minutes.
+Free users only used 30 seconds per use.
/upgrade or Try 1800 seconds later."""
IFLONG_FILE_NAME = """File Name limit allowed by Telegram is {alimit} characters.
The given file name has {num} characters.
Essays Not allowed in Telegram file name!
-Β©οΈ @ReNameBot
+Β©οΈ @NGY_RENAME_BOT
Please short your file name and try again!"""
From 6cbd93a698bdb708e698e64ae1c79f7fc3b39745 Mon Sep 17 00:00:00 2001
From: SHER321 <66766275+SHER321@users.noreply.github.com>
Date: Thu, 11 Jun 2020 20:56:04 +0530
Subject: [PATCH 4/6] Update README.md
---
README.md | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index abade1b1d..9a44671ed 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ An Open Source Rename Telegram RoBot
[](https://www.heroku.com/deploy?template=https://github.com/erichdanikeninfo/TG-Rename-Bot)
-**upgrade** your subscription for [@AnyDLBot](https://telegram.dog/AnyDLBot) without having to run anything on your own
+**upgrade** your subscription for [@AnyDLBot](https://telegram.dog/MOVIERG_NY) without having to run anything on your own
#### The Hard Way
@@ -31,9 +31,9 @@ python bot.py
```
## Our Telegram Channel and Group
-* [TG Bots Updates](https://telegram.dog/TGBotsz)
-* [InFoTel Paid Apps](https://telegram.dog/InFoTel14)
-* [InFoTel Group](https://telegram.dog/InFoTelGroup)
+* [TG Bots Updates](https://telegram.dog/ALL_MOVIES_LIABRARY)
+* [InFoTel Paid Apps](https://telegram.dog/ALL_MOVIES_LIABRARY)
+* [InFoTel Group](https://telegram.dog/ALL_MOVIES_LIABRARY)
## Credits, and Thanks to
From 4a5a7b4c3b96f00dd85f4b62fa49bd83b7928a5a Mon Sep 17 00:00:00 2001
From: SHER321 <66766275+SHER321@users.noreply.github.com>
Date: Thu, 11 Jun 2020 20:57:04 +0530
Subject: [PATCH 5/6] Update README.md
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 9a44671ed..8de11f13c 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@ An Open Source Rename Telegram RoBot
### You can also tap the Deploy To Heroku button below to deploy straight to Heroku!
-[](https://www.heroku.com/deploy?template=https://github.com/erichdanikeninfo/TG-Rename-Bot)
+[](https://www.heroku.com/deploy?template=https://github.com/SHARE321/TG-Rename-Bot)
**upgrade** your subscription for [@AnyDLBot](https://telegram.dog/MOVIERG_NY) without having to run anything on your own
From 7aa7169efce66b0350d4660b3d54134f02204110 Mon Sep 17 00:00:00 2001
From: SHER321 <66766275+SHER321@users.noreply.github.com>
Date: Thu, 11 Jun 2020 20:57:57 +0530
Subject: [PATCH 6/6] Update README.md
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 8de11f13c..d6dbf1c39 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@ An Open Source Rename Telegram RoBot
### You can also tap the Deploy To Heroku button below to deploy straight to Heroku!
-[](https://www.heroku.com/deploy?template=https://github.com/SHARE321/TG-Rename-Bot)
+[](https://www.heroku.com/deploy?template=https://github.com/SHER321/TG-Rename-Bot)
**upgrade** your subscription for [@AnyDLBot](https://telegram.dog/MOVIERG_NY) without having to run anything on your own