From ce228ad8c669fa55970bb3d1100415c30c025d5a Mon Sep 17 00:00:00 2001
From: Mokka2020 <81238253+Mokka2020@users.noreply.github.com>
Date: Mon, 29 Mar 2021 23:02:06 +0530
Subject: [PATCH 1/3] Update help.py
---
plugins/help.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/help.py b/plugins/help.py
index 22fc704..62d8878 100644
--- a/plugins/help.py
+++ b/plugins/help.py
@@ -3,5 +3,5 @@
@Client.on_message(Filters.command(["help"]))
async def start(client, message):
- helptxt = f"Aw le! Youtube Video Mp3/Mp4 engpawh ka download theia, Mahse, Playlists a theih loh thung. Youtube URL Link lo thawn tawp la aw. Chuan Mp3/Mp4 i duh ilo thlang mai ang. Powered by @ZauTe_Km"
+ helptxt = f"Send Me Youtube Link To Be Uploaded To Telegram Powered by @bot_beast"
await message.reply_text(helptxt)
From dfea1ebc23424ec286675747fdba10af7dd02503 Mon Sep 17 00:00:00 2001
From: Mokka2020 <81238253+Mokka2020@users.noreply.github.com>
Date: Mon, 29 Mar 2021 23:09:51 +0530
Subject: [PATCH 2/3] Update start.py
---
plugins/start.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/plugins/start.py b/plugins/start.py
index 6e574d4..000db02 100644
--- a/plugins/start.py
+++ b/plugins/start.py
@@ -5,10 +5,10 @@
async def start(client, message):
# return
joinButton = InlineKeyboardMarkup([
- [InlineKeyboardButton("Support Channel", url="https://t.me/TGBotSzK")],
- [InlineKeyboardButton(
- "Support Group", url="https://t.me/MizoInFoTel1")]
+ [InlineKeyboardButton("owner", url="https://t.me/bot_beast")]
+
+
])
- welcomed = f"Hi! {message.from_user.first_name}\n/help lo thawn la aw, Min hmandan tur i hriat duh chuan."
+ welcomed = f"Hi! {message.from_user.first_name}\n/help Yo, I am a Powefull Youtube Download Bot 🤓! \n Send Me Youtube Link, So I Can Upload It To Telegram As File/Video!"
await message.reply_text(welcomed, reply_markup=joinButton)
raise StopPropagation
From 024b457b8cc89742349d2698253bb1b58edf19a7 Mon Sep 17 00:00:00 2001
From: Mokka2020 <81238253+Mokka2020@users.noreply.github.com>
Date: Mon, 29 Mar 2021 23:26:14 +0530
Subject: [PATCH 3/3] Update youtube.py
---
plugins/youtube.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/plugins/youtube.py b/plugins/youtube.py
index fec59b3..e8c29ac 100644
--- a/plugins/youtube.py
+++ b/plugins/youtube.py
@@ -28,10 +28,10 @@ async def ytdl(_, message):
timedelta(minutes=youtube_next_fetch)
except Exception:
- await message.reply_text("`A fail tlat mai.. 😔 \nA chhhan chu, he Video Data hi ka hmu thei lo tlat. \n#error`")
+ await message.reply_text("`A failed to fetch the URL try again later 😔 \n#error`")
return
buttons = InlineKeyboardMarkup(list(create_buttons(formats)))
- sentm = await message.reply_text("YT URL a dik e... © @TGBotSzK")
+ sentm = await message.reply_text("YT URL © @bot_beast")
try:
# Todo add webp image support in thumbnail by default not supported by pyrogram
# https://www.youtube.com/watch?v=lTTajzrSkCw
@@ -39,7 +39,7 @@ async def ytdl(_, message):
await sentm.delete()
except Exception as e:
try:
- thumbnail_url = "https://telegra.ph/file/d75ec77d3d1a4a7f64548.jpg"
+ thumbnail_url = "https://cdn.vox-cdn.com/thumbor/vQk5ZesaSb73aQ0krpdClSjSENw=/0x0:2040x1360/1200x800/filters:focal(857x517:1183x843)/cdn.vox-cdn.com/uploads/chorus_image/image/61435097/wjoel_1777_180403_youtube_005.0.jpg"
await message.reply_photo(thumbnail_url, caption=title, reply_markup=buttons)
except Exception as e:
await sentm.edit(