From 630b561c4a189cb5399759331c76cd36597f7c34 Mon Sep 17 00:00:00 2001
From: executor99 <82030518+executor99@users.noreply.github.com>
Date: Sun, 27 Jun 2021 18:49:04 +0700
Subject: [PATCH 01/11] Update private.py
---
handlers/private.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/handlers/private.py b/handlers/private.py
index 18d5089d..fd54653e 100644
--- a/handlers/private.py
+++ b/handlers/private.py
@@ -19,17 +19,17 @@ async def start(_, message: Message):
[
[
InlineKeyboardButton(
- "🛠 Source Code 🛠", url="https://github.com/Infinity-Bots/GroupMusicPlayerBot")
+ "🌬 Group Support", url="https://t.me/thisrevolution")
],[
InlineKeyboardButton(
- "💬 Group", url="https://t.me/InfinityBOTs_Support"
+ "Manage By Executor", url="https://t.me/penjelajahdimensi"
),
InlineKeyboardButton(
- "🔊 Channel", url="https://t.me/Infinity_BOTs"
+ "🔊 Channel", url="https://t.me/OfiicialRevolution"
)
],[
InlineKeyboardButton(
- "➕ Add To Your Group ➕", url="https://t.me/JEGroupMusicPlayerBot?startgroup=true"
+ "➕ Add To Your Group ➕", url="https://t.me/MemewMusicbot?startgroup=true"
)]
]
),
@@ -43,7 +43,7 @@ async def gstart(_, message: Message):
[
[
InlineKeyboardButton(
- "🔊 Channel", url="https://t.me/Infinity_BOTs")
+ "🔊 Channel", url="https://t.me/joinchat/zk3lrq5K2wQxMjI1")
]
]
)
From 53401f7ff0bdd375c51511016eb9b5e512699ff5 Mon Sep 17 00:00:00 2001
From: executor99 <82030518+executor99@users.noreply.github.com>
Date: Sun, 27 Jun 2021 18:51:00 +0700
Subject: [PATCH 02/11] Update admins.py
---
handlers/admins.py | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/handlers/admins.py b/handlers/admins.py
index 0983602c..1a48f774 100644
--- a/handlers/admins.py
+++ b/handlers/admins.py
@@ -21,7 +21,7 @@ async def pause(_, message: Message):
await message.reply_text("❗ Nothing is playing!")
else:
callsmusic.pytgcalls.pause_stream(message.chat.id)
- await message.reply_text("▶️ Paused!")
+ await message.reply_text("▶️ Lagunya di Paused!")
@Client.on_message(command("resume") & other_filters)
@@ -33,10 +33,10 @@ async def resume(_, message: Message):
) or (
callsmusic.pytgcalls.active_calls[message.chat.id] == 'playing'
):
- await message.reply_text("❗ Nothing is paused!")
+ await message.reply_text("❗ Ga ada yang di pause tolol!")
else:
callsmusic.pytgcalls.resume_stream(message.chat.id)
- await message.reply_text("⏸ Resumed!")
+ await message.reply_text("⏸ Oke mari dengarkan lagi!")
@Client.on_message(command("end") & other_filters)
@@ -52,7 +52,7 @@ async def stop(_, message: Message):
pass
callsmusic.pytgcalls.leave_group_call(message.chat.id)
- await message.reply_text("❌ Stopped streaming!")
+ await message.reply_text("❌ Lagunya di stop jangan tolol!")
@Client.on_message(command("skip") & other_filters)
@@ -60,7 +60,7 @@ async def stop(_, message: Message):
@authorized_users_only
async def skip(_, message: Message):
if message.chat.id not in callsmusic.pytgcalls.active_calls:
- await message.reply_text("❗ Nothing is playing to skip!")
+ await message.reply_text("❗ Ga ada yang perlu di skip!")
else:
callsmusic.queues.task_done(message.chat.id)
@@ -72,4 +72,4 @@ async def skip(_, message: Message):
callsmusic.queues.get(message.chat.id)["file"]
)
- await message.reply_text("➡️ Skipped the current song!")
+ await message.reply_text("➡️ Lagunya di skip ya tolol!")
From 73d0bb23fb63fb92efa7dc367140f326b883675d Mon Sep 17 00:00:00 2001
From: executor99 <82030518+executor99@users.noreply.github.com>
Date: Sun, 27 Jun 2021 18:51:52 +0700
Subject: [PATCH 03/11] Update app.json
---
app.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app.json b/app.json
index 2d73435f..40a25fe2 100644
--- a/app.json
+++ b/app.json
@@ -2,7 +2,7 @@
"name": "Music Bot",
"description": "Open-Source bot to play songs in your Telegram's Group Voice Chat. Powered by PyTgCalls.",
"keywords": ["music", "voicechat", "telegram"],
- "repository": "https://github.com/ImJanindu/GroupMusicBot",
+ "repository": "https://github.com/executor99/GroupMusicPlayerBot",
"stack": "container",
"env": {
"SESSION_NAME": {
From 9d756edd49eca906d8a930277757233aff96a47e Mon Sep 17 00:00:00 2001
From: executor99 <82030518+executor99@users.noreply.github.com>
Date: Sun, 27 Jun 2021 18:58:49 +0700
Subject: [PATCH 04/11] Update play.py
---
handlers/play.py | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/handlers/play.py b/handlers/play.py
index 01522027..c0be8f18 100644
--- a/handlers/play.py
+++ b/handlers/play.py
@@ -100,7 +100,7 @@ async def play(_, message: Message):
try:
user = await USER.get_me()
except:
- user.first_name = "Mizuki"
+ user.first_name = "Memew"
usar = user
wew = usar.id
try:
@@ -112,13 +112,13 @@ async def play(_, message: Message):
invitelink = await _.export_chat_invite_link(chid)
except:
await lel.edit(
- "Add me as admin of yor group first!")
+ "Jadikan saya admin di groupmu untuk memulai!")
return
try:
await USER.join_chat(invitelink)
await USER.send_message(
- message.chat.id, "**Mizuki Music assistant joined this group for play music 🎵**")
+ message.chat.id, "**Memew Music assistant telah join dan siap memuyar musik 🎵**")
except UserAlreadyParticipant:
pass
@@ -153,7 +153,7 @@ async def play(_, message: Message):
[
InlineKeyboardButton(
text="Channel 🔊",
- url="https://t.me/Infinity_BOTs")
+ url="https://t.me/joinchat/zk3lrq5K2wQxMjI1")
]
]
@@ -201,7 +201,7 @@ async def play(_, message: Message):
)
except Exception as e:
title = "NaN"
- thumb_name = "https://telegra.ph/file/638c20c44ca418c8b2178.jpg"
+ thumb_name = "https://telegra.ph/file/6b4d999e0897fe457d797.jpg"
duration = "NaN"
views = "NaN"
keyboard = InlineKeyboardMarkup(
@@ -269,7 +269,7 @@ async def play(_, message: Message):
)
if (dur / 60) > DURATION_LIMIT:
- await lel.edit(f"❌ Videos longer than {DURATION_LIMIT} minutes aren't allowed to play!")
+ await lel.edit(f"❌ Tidak bisa memutar musik karna {DURATION_LIMIT} minutes aren't allowed to play!")
return
requested_by = message.from_user.first_name
await generate_cover(requested_by, title, views, duration, thumbnail)
From fcedb8e791a3b2829e7ae3f7691977755f2129ef Mon Sep 17 00:00:00 2001
From: executor99 <82030518+executor99@users.noreply.github.com>
Date: Sun, 27 Jun 2021 19:00:09 +0700
Subject: [PATCH 05/11] Update private.py
---
handlers/private.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/handlers/private.py b/handlers/private.py
index fd54653e..ffa20b5a 100644
--- a/handlers/private.py
+++ b/handlers/private.py
@@ -11,7 +11,7 @@ async def start(_, message: Message):
await message.reply_text(
f"""**Hey, I'm {bn} 🎵
-I can play music in your group's voice call. Developed by [Jason](https://t.me/ImJanindu).
+I can play music in your group's voice call. Developed by [Executor](https://t.me/penjelajahdimensi).
Add me to your group and play music freely!**
""",
From 3b3725abc5ccbd3bdbde9a933b2872d7aed57e14 Mon Sep 17 00:00:00 2001
From: executor99 <82030518+executor99@users.noreply.github.com>
Date: Sun, 27 Jun 2021 20:24:19 +0700
Subject: [PATCH 06/11] Update README.md
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 3712d639..159e9eb0 100644
--- a/README.md
+++ b/README.md
@@ -28,7 +28,7 @@
### Deploy To Heroku
-[](https://heroku.com/deploy?template=https://github.com/Infinity-Bots/GroupMusicPlayerBot)
+[](https://heroku.com/deploy?template=https://github.com/executor99/GroupMusicPlayerBot)
Use [Repl Link](https://replit.com/@SpEcHiDe/GenerateStringSession) to get pyrogram string session
From b357a23569f80581b80905787086e7391a0ddb4d Mon Sep 17 00:00:00 2001
From: executor99 <82030518+executor99@users.noreply.github.com>
Date: Sun, 27 Jun 2021 21:46:08 +0700
Subject: [PATCH 07/11] Update private.py
---
handlers/private.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/handlers/private.py b/handlers/private.py
index ffa20b5a..d489a865 100644
--- a/handlers/private.py
+++ b/handlers/private.py
@@ -11,7 +11,7 @@ async def start(_, message: Message):
await message.reply_text(
f"""**Hey, I'm {bn} 🎵
-I can play music in your group's voice call. Developed by [Executor](https://t.me/penjelajahdimensi).
+Saya bisa memutarkan musik di group anda dengan nyaman,penghantar tidur juga tapi gak bisa ngisi hati kalian. Manage by [ᴇxᴇᴄᴜᴛᴏʀ](https://t.me/penjelajahdimensi).
Add me to your group and play music freely!**
""",
@@ -22,10 +22,10 @@ async def start(_, message: Message):
"🌬 Group Support", url="https://t.me/thisrevolution")
],[
InlineKeyboardButton(
- "Manage By Executor", url="https://t.me/penjelajahdimensi"
+ "📸 Owner Fake", url="https://t.me/penjelajahdimensi"
),
InlineKeyboardButton(
- "🔊 Channel", url="https://t.me/OfiicialRevolution"
+ "💕 Suara Isi Hati 💕", url="https://t.me/OfiicialRevolution"
)
],[
InlineKeyboardButton(
@@ -43,7 +43,7 @@ async def gstart(_, message: Message):
[
[
InlineKeyboardButton(
- "🔊 Channel", url="https://t.me/joinchat/zk3lrq5K2wQxMjI1")
+ "💞 Suara Isi Hati 💕", url="https://t.me/ohempty")
]
]
)
From ebe2d40ac73a8975e90e83f0c933583f4bc665b7 Mon Sep 17 00:00:00 2001
From: executor99 <82030518+executor99@users.noreply.github.com>
Date: Sun, 27 Jun 2021 21:47:28 +0700
Subject: [PATCH 08/11] Update admins.py
---
handlers/admins.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/handlers/admins.py b/handlers/admins.py
index 1a48f774..f73a619e 100644
--- a/handlers/admins.py
+++ b/handlers/admins.py
@@ -18,7 +18,7 @@ async def pause(_, message: Message):
) or (
callsmusic.pytgcalls.active_calls[message.chat.id] == 'paused'
):
- await message.reply_text("❗ Nothing is playing!")
+ await message.reply_text("❗ Kalau ga ada ya ga ada bangsat ngeyel bener hidup lu!")
else:
callsmusic.pytgcalls.pause_stream(message.chat.id)
await message.reply_text("▶️ Lagunya di Paused!")
@@ -36,7 +36,7 @@ async def resume(_, message: Message):
await message.reply_text("❗ Ga ada yang di pause tolol!")
else:
callsmusic.pytgcalls.resume_stream(message.chat.id)
- await message.reply_text("⏸ Oke mari dengarkan lagi!")
+ await message.reply_text("⏸ Oke mari kita dengarkan lagi!")
@Client.on_message(command("end") & other_filters)
@@ -44,7 +44,7 @@ async def resume(_, message: Message):
@authorized_users_only
async def stop(_, message: Message):
if message.chat.id not in callsmusic.pytgcalls.active_calls:
- await message.reply_text("❗ Nothing is streaming!")
+ await message.reply_text("❗ Ngeyel lu anjing!")
else:
try:
callsmusic.queues.clear(message.chat.id)
From 92a680e8e9b131f6e04eb8f39d81177480019558 Mon Sep 17 00:00:00 2001
From: executor99 <82030518+executor99@users.noreply.github.com>
Date: Sun, 27 Jun 2021 21:50:49 +0700
Subject: [PATCH 09/11] Update play.py
---
handlers/play.py | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/handlers/play.py b/handlers/play.py
index c0be8f18..de6c8105 100644
--- a/handlers/play.py
+++ b/handlers/play.py
@@ -92,7 +92,7 @@ async def generate_cover(requested_by, title, views, duration, thumbnail):
& ~filters.via_bot)
async def play(_, message: Message):
- lel = await message.reply("🔄 **Processing...**")
+ lel = await message.reply("🔄 **Tunggu lagunya lagi di cari...**")
administrators = await get_administrators(message.chat)
chid = message.chat.id
@@ -118,7 +118,7 @@ async def play(_, message: Message):
try:
await USER.join_chat(invitelink)
await USER.send_message(
- message.chat.id, "**Memew Music assistant telah join dan siap memuyar musik 🎵**")
+ message.chat.id, "**Memew Music assistant telah join dan siap memutar musik 🎵**")
except UserAlreadyParticipant:
pass
@@ -153,7 +153,7 @@ async def play(_, message: Message):
[
InlineKeyboardButton(
text="Channel 🔊",
- url="https://t.me/joinchat/zk3lrq5K2wQxMjI1")
+ url="https://t.me/ohempty")
]
]
@@ -215,7 +215,7 @@ async def play(_, message: Message):
]
)
if (dur / 60) > DURATION_LIMIT:
- await lel.edit(f"❌ Videos longer than {DURATION_LIMIT} minutes aren't allowed to play!")
+ await lel.edit(f"❌ Ga bisa di putar anjing karna durasi kepanjangan {DURATION_LIMIT} minutes aren't allowed to play!")
return
requested_by = message.from_user.first_name
await generate_cover(requested_by, title, views, duration, thumbnail)
@@ -223,10 +223,10 @@ async def play(_, message: Message):
else:
if len(message.command) < 2:
return await lel.edit("🧐 **What's the song you want to play?**")
- await lel.edit("🔎 **Finding the song...**")
+ await lel.edit("🔎 **Lagu nya sudah di temukan sabar...**")
query = message.text.split(None, 1)[1]
# print(query)
- await lel.edit("🎵 **Processing sounds...**")
+ await lel.edit("🎵 **Bentar anjing lagi di proses nih...**")
try:
results = YoutubeSearch(query, max_results=1).to_dict()
url = f"https://youtube.com{results[0]['url_suffix']}"
From 5b3bb2959c0eb396c75e61fead0a733aa977ddbc Mon Sep 17 00:00:00 2001
From: executor99 <82030518+executor99@users.noreply.github.com>
Date: Sun, 27 Jun 2021 22:02:07 +0700
Subject: [PATCH 10/11] Update private.py
---
handlers/private.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/handlers/private.py b/handlers/private.py
index d489a865..adbfa7d3 100644
--- a/handlers/private.py
+++ b/handlers/private.py
@@ -13,7 +13,7 @@ async def start(_, message: Message):
Saya bisa memutarkan musik di group anda dengan nyaman,penghantar tidur juga tapi gak bisa ngisi hati kalian. Manage by [ᴇxᴇᴄᴜᴛᴏʀ](https://t.me/penjelajahdimensi).
-Add me to your group and play music freely!**
+Tambahkan saya ke group untuk menikmati alunan musiknya!**
""",
reply_markup=InlineKeyboardMarkup(
[
From 5ecde07be43be1c3621f5f6528c28eeda101129c Mon Sep 17 00:00:00 2001
From: executor99 <82030518+executor99@users.noreply.github.com>
Date: Sun, 27 Jun 2021 22:17:53 +0700
Subject: [PATCH 11/11] Update private.py
---
handlers/private.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/handlers/private.py b/handlers/private.py
index adbfa7d3..f4c63c70 100644
--- a/handlers/private.py
+++ b/handlers/private.py
@@ -13,6 +13,8 @@ async def start(_, message: Message):
Saya bisa memutarkan musik di group anda dengan nyaman,penghantar tidur juga tapi gak bisa ngisi hati kalian. Manage by [ᴇxᴇᴄᴜᴛᴏʀ](https://t.me/penjelajahdimensi).
+Klik disini untuk tau cara play nya "📀 Cara Play lagunya", url=https://telegra.ph/ᴇxᴇᴄᴜᴛᴏʀ-06-27
+
Tambahkan saya ke group untuk menikmati alunan musiknya!**
""",
reply_markup=InlineKeyboardMarkup(