From c76684543b2c5a354f9692b291107f11d2876093 Mon Sep 17 00:00:00 2001 From: MRK-YT <81806065+MRK-YT@users.noreply.github.com> Date: Mon, 14 Jun 2021 13:37:13 +0530 Subject: [PATCH 01/23] Update..... --- MusicBot/config.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/MusicBot/config.py b/MusicBot/config.py index 91924df..c9862e8 100644 --- a/MusicBot/config.py +++ b/MusicBot/config.py @@ -10,16 +10,16 @@ SESSION_NAME = getenv("SESSION_NAME", "session") BOT_TOKEN = getenv("BOT_TOKEN") BOT_NAME = getenv("BOT_NAME") -UPDATES_CHANNEL = getenv("UPDATES_CHANNEL", "ZauteKm") -BG_IMAGE = getenv("BG_IMAGE", "https://telegra.ph/file/e8ef50ce40d228a5fde80.png") +UPDATES_CHANNEL = getenv("UPDATES_CHANNEL", "MoTechYT") +BG_IMAGE = getenv("BG_IMAGE", "https://telegra.ph/file/82a87d77d3b42c48ccd4f.jpg") admins = {} API_ID = int(getenv("API_ID")) API_HASH = getenv("API_HASH") BOT_USERNAME = getenv("BOT_USERNAME") -ASSISTANT_NAME = getenv("ASSISTANT_NAME", "ZauteMusicPlayer") +ASSISTANT_NAME = getenv("ASSISTANT_NAME", "MTMusicPlayer") SUPPORT_GROUP = getenv("SUPPORT_GROUP", "tgVCSets") -PROJECT_NAME = getenv("PROJECT_NAME", "Group Music Bot v4") -SOURCE_CODE = getenv("SOURCE_CODE", "github.com/ZauteKm/GroupMusicBot") +PROJECT_NAME = getenv("PROJECT_NAME", "MT Group Music Bot v4") +SOURCE_CODE = getenv("SOURCE_CODE", "github.com/MRK-YT/MT-GroupMusic-Bot") DURATION_LIMIT = int(getenv("DURATION_LIMIT", "7")) ARQ_API_KEY = getenv("ARQ_API_KEY", None) PMPERMIT = getenv("PMPERMIT", None) From 071f8ce1b411af3217f853163e4da0be5b83302c Mon Sep 17 00:00:00 2001 From: MRK-YT <81806065+MRK-YT@users.noreply.github.com> Date: Mon, 14 Jun 2021 13:41:49 +0530 Subject: [PATCH 02/23] Update.... --- MusicBot/modules/msg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MusicBot/modules/msg.py b/MusicBot/modules/msg.py index fbd5231..e9594d9 100644 --- a/MusicBot/modules/msg.py +++ b/MusicBot/modules/msg.py @@ -1,7 +1,7 @@ import os from MusicBot.config import SOURCE_CODE,ASSISTANT_NAME,PROJECT_NAME,SUPPORT_GROUP,UPDATES_CHANNEL class Messages(): - START_MSG = "**Hello π [{}](tg://user?id={})!**\n\nπ€ I am an advanced bot created for playing music in the voice chats of Telegram Groups & Channels.\n\nβ Send me /help for more info." + START_MSG = "**Hello π [{}](tg://user?id={})!**\n\nπ€ I am an advanced bot created for playing music in the voice chats of Telegram Groups & Channels.\n\nβ Send me /help for more info.\n\nπ£οΈAny Doubt @Mo_Tech_Group" HELP_MSG = [ ".", f""" From b0611708acfe2a592c8cedf57a41d6bf70512c0a Mon Sep 17 00:00:00 2001 From: MRK-YT <81806065+MRK-YT@users.noreply.github.com> Date: Mon, 14 Jun 2021 13:44:54 +0530 Subject: [PATCH 03/23] Uodate..... --- MusicBot/modules/pmpermit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MusicBot/modules/pmpermit.py b/MusicBot/modules/pmpermit.py index dc5428a..2065db8 100644 --- a/MusicBot/modules/pmpermit.py +++ b/MusicBot/modules/pmpermit.py @@ -8,6 +8,6 @@ async def pmPermit(client: USER, message: Message): await USER.send_message( message.chat.id, - "**Hi there, This is a music assistant service @ZK_GvCBot.**\n\n βοΈ **Rules:**\n - No chatting allowed\n - No spam allowed \n\n π **SEND GROUP INVITE LINK OR USERNAME IF USERBOT CAN'T JOIN YOUR GROUP.**\n\n **β οΈ Disclamer:** If you are sending a message here it means admin from @tgVCSets will see your message and join chat\n - Don't add this user to secret groups.\n - Don't Share private info here.\n\n**Feel Free to Contact Us @ZauteBot.**", + "**Hi there, This is a music assistant service @MT_Music_BoT {Private Bot}.**", ) return From 88e82457b3675ed5d1adb77ef83302803a345747 Mon Sep 17 00:00:00 2001 From: MRK-YT <81806065+MRK-YT@users.noreply.github.com> Date: Mon, 14 Jun 2021 13:48:35 +0530 Subject: [PATCH 04/23] Update..... --- MusicBot/modules/private.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MusicBot/modules/private.py b/MusicBot/modules/private.py index 828ec62..294e0fb 100644 --- a/MusicBot/modules/private.py +++ b/MusicBot/modules/private.py @@ -17,7 +17,7 @@ def _start(client, message): "β Add me to your Group β", url=f"https://t.me/{BOT_USERNAME}?startgroup=true")], [ InlineKeyboardButton( - "π² Updates", url=f"https://t.me/{UPDATES_CHANNEL}"), + "π² Uodates", url=f"https://t.me/{UPDATES_CHANNEL}"), InlineKeyboardButton( "π¬ Support", url=f"https://t.me/{SUPPORT_GROUP}") ],[ @@ -32,7 +32,7 @@ def _start(client, message): @Client.on_message(filters.command("start") & ~filters.private & ~filters.channel) async def gstart(_, message: Message): await message.reply_text( - f"""**π΄ {PROJECT_NAME} is online**""", + f"""**π΄ {PROJECT_NAME} is onlineπ**""", reply_markup=InlineKeyboardMarkup( [ [ From 7b9d37978b86b46f0e9aa1008d64f47a7924d921 Mon Sep 17 00:00:00 2001 From: MRK-YT <81806065+MRK-YT@users.noreply.github.com> Date: Mon, 14 Jun 2021 14:00:54 +0530 Subject: [PATCH 05/23] Update.... --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index e69bc55..a155686 100644 --- a/README.md +++ b/README.md @@ -3,13 +3,13 @@ ### A bot that can play music on Telegram Group and Channel Voice Chats
-
+
+
Click the below button to watch the video tutorial on deploying
-### Deploy To Heroku π‘
+#### Deploy To Heroku
+
+
+
[](https://replit.com/@ZauteKm/GenerateStringSession#main.py)
+
+
+
- Thumbnail Support
- Playlist Support
- Current playback support
@@ -55,18 +66,25 @@ Click the below button to watch the video tutorial on deploying
- Control with buttons
- Userbot auto join
- Channel Music Play
-### Requirements π
+
+
+
+
+
+
+
+
+
+
- FFmpeg
- NodeJS [nodesource.com](https://nodesource.com/)
- Python 3.7+
- [PyTgCalls](https://github.com/pytgcalls/pytgcalls)
-### β Self-hosting (For Devs)
-```sh
+
+Requirements π
+
# Install Git First (apt-instll git)
$ git clone https://github.com/MRK-YT/MT-GroupMusic-Bot
-$ cd GroupMusicBot
+$ cd MT-GroupMusic-Bot
# Upgrade sources
# Install All Requirements
$ pip(3) install -r requirements.txt
@@ -74,9 +92,13 @@ $ pip(3) install -r requirements.txt
$ npm i -g npm
# Start Bot
$ python(3) -m MusicBot
-```
+
+Commands for Group π
+
#### For all in group
- `/play Admins only
+
- `/player` - open music player settings panel
- `/pause` - pause song play
- `/resume` - resume song play
@@ -100,8 +127,13 @@ $ python(3) -m MusicBot
- `/userbotjoin` - invite assistant to your chat
- `/userbotleave` - remove assistant from your chat
- `/reload` - Refresh admin list
+
+Commands for Channel Music Play π
+
For linked group admins only:
- `/cplay Commands for Sudo Users βοΈ
+
- `/userbotleaveall` - remove assistant from all chats
- `/gcast Pmpermit
+
- `.a` - approove someone to pm you
- `.da` - disapproove someone to pm you
+ Sudo Users can execute any command in any groups
+
+Credits
+
#### Special Credits
- [Rojserbest](http://github.com/rojserbes): Callsmusic Developer
+
+
+
+
+
+
+
+
+
+
+[](https://github.com/MRK-YT/Pro-Auto-Filter-Bot-V2)
+[](https://telegram.dog/Mrk_Yt)
+[](https://telegram.dog/mrk_yt)
+[](https://telegram.dog/mo_Tech_yt)
+
+Join Our [Telegram Group](https://www.telegram.dog/Mo_Tech_Group) For Support/Assistance And Our [Channel](https://www.telegram.dog/Mo_Tech_YT) For Updates.
+
+Report Bugs, Give Feature Requests There..
+Do Fork And Star The Repository If You Liked It.
+
+
+
[](https://replit.com/@ZauteKm/GenerateStringSession#main.py)
-
+
- Thumbnail Support - Playlist Support - Current playback support @@ -72,7 +73,7 @@ Click the below button to watch the video tutorial on deployingRequirements π
-
+- FFmpeg - NodeJS [nodesource.com](https://nodesource.com/) - Python 3.7+ @@ -81,7 +82,7 @@ Click the below button to watch the video tutorial on deployingRequirements π
-
+# Install Git First (apt-instll git) $ git clone https://github.com/MRK-YT/MT-GroupMusic-Bot $ cd MT-GroupMusic-Bot @@ -98,7 +99,7 @@ $ python(3) -m MusicBotCommands for Group π
-
+#### For all in group - `/play` - play song you requested @@ -118,7 +119,7 @@ $ python(3) -m MusicBot Admins only
-
+- `/player` - open music player settings panel - `/pause` - pause song play - `/resume` - resume song play @@ -133,7 +134,7 @@ $ python(3) -m MusicBotCommands for Channel Music Play π
-
+For linked group admins only: - `/cplay` - play song you requested - `/cplay ` - play replied file @@ -159,7 +160,7 @@ If you donlt like to play in linked channel: Commands for Sudo Users βοΈ
-
+- `/userbotleaveall` - remove assistant from all chats - `/gcast` - globally brodcast replied message to all chats - `/pmpermit [on/off]` - enable/disable pmpermit message @@ -169,7 +170,7 @@ If you donlt like to play in linked channel: From 7e12cbcdca44a930f0059ae26c122719deb05870 Mon Sep 17 00:00:00 2001 From: MRK-YT <81806065+MRK-YT@users.noreply.github.com> Date: Wed, 16 Jun 2021 13:53:03 +0530 Subject: [PATCH 19/23] Update.... --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3a54789..e097614 100644 --- a/README.md +++ b/README.md @@ -74,11 +74,14 @@ Click the below button to watch the video tutorial on deployingPmpermit
-
+- `.a` - approove someone to pm you - `.da` - disapproove someone to pm you + Sudo Users can execute any command in any groups @@ -179,15 +180,12 @@ If you donlt like to play in linked channel:- +#### Editing....Credits
-
+#### Special Credits - [Rojserbest](http://github.com/rojserbes): Callsmusic Developer -- -
![]()
From a9045bc3c03b29bf1e9b1a43f7411b01d4b64a5e Mon Sep 17 00:00:00 2001 From: MRK-YT <81806065+MRK-YT@users.noreply.github.com> Date: Wed, 16 Jun 2021 13:51:49 +0530 Subject: [PATCH 18/23] Update README.md --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 092f60a..3a54789 100644 --- a/README.md +++ b/README.md @@ -47,9 +47,9 @@ Click the below button to watch the video tutorial on deploying
@@ -182,6 +182,7 @@ If you donlt like to play in linked channel:GET STRING SESSION FROM REPL RUN
-
+- [](https://replit.com/@ZauteKm/GenerateStringSession#main.py) +[](https://replit.com/@ZauteKm/GenerateStringSession#main.py)
#### Special Credits + - [Rojserbest](http://github.com/rojserbes): Callsmusic Developer @@ -204,7 +205,7 @@ Join Our [Telegram Group](https://www.telegram.dog/Mo_Tech_Group) For Support/As Report Bugs, Give Feature Requests There.. Do Fork And Star The Repository If You Liked It. - +Requirements π
+ - FFmpeg - NodeJS [nodesource.com](https://nodesource.com/) - Python 3.7+ - [PyTgCalls](https://github.com/pytgcalls/pytgcalls) - ++ +Requirements π
From 7d1f75789507c434cd2c8872aeae4926e8882043 Mon Sep 17 00:00:00 2001 From: MRK-YT <81806065+MRK-YT@users.noreply.github.com> Date: Wed, 16 Jun 2021 14:02:51 +0530 Subject: [PATCH 20/23] =?UTF-8?q?=F0=9F=91=A8=E2=80=8D=F0=9F=92=BB=20Updat?= =?UTF-8?q?e......?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.json | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/app.json b/app.json index c926b3c..816e179 100644 --- a/app.json +++ b/app.json @@ -1,6 +1,6 @@ { "name": "Group Music Bot", - "logo": "https://telegra.ph/file/b569577a0593b51cd53ab.png", + "logo": "https://telegra.ph/file/e62e75453eeedad35a189.jpg", "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/LushaiMusic/GroupMusicBot", @@ -24,49 +24,49 @@ "value": "" }, "SUPPORT_GROUP": { - "description": "Your MusicPlayer support group without @ [Leave this if you don't have one]", + "description": "Your MusicPlayer support group without @ [Leave this if you don't have one](Mo_Tech_Group)", "required": false, - "value": "tgVCSets" + "value": "Mo_Tech_Group" }, "PROJECT_NAME": { - "description": "Your MusicPlayer project Name.", + "description": "Your MusicPlayer project Name {MT Music Bog V4}.", "required": false, - "value": "Music Bot v4" + "value": "MT Music Bot v4" }, "ASSISTANT_NAME": { - "description": "Your MusicPlayer's assistant Username without @.", + "description": "Your MusicPlayer's assistant Username without @ {MRK-YT}.", "required": true }, "ARQ_API_KEY": { "description": "Get from @ARQRobot.", "required": false, - "value": "GUGFNB-XPUZDX-XGCKTJ-UZXHBZ-ARQ" + "value": "" }, "BG_IMAGE": { - "description": "BG image of bot (Use transparent one) [IGNORE].", + "description": "BG image of bot @MT_Telegraph_BoT", "required": false, - "value": " https://telegra.ph/file/e8ef50ce40d228a5fde80.png" + "value": "https://telegra.ph/file/e62e75453eeedad35a189.jpg" }, "UPDATES_CHANNEL": { - "description": "Updates Channel without @ [Leave this if you don't have one].", + "description": "Updates Channel without @ [Leave this if you don't have one]{Mo_Tech_YT}", "required": false, - "value": "ZauteKm" + "value": "Mo_Tech_YT" }, "API_ID": { - "description": "App ID from my.telegram.org/apps", + "description": "App ID from my.telegram.org/apps or @MT_MyTelegramOrg_Bot", "required": true }, "PMPERMIT": { - "description": "Change to turn off", + "description": "Change to turn off {ENABLE}", "required": false, "value": "ENABLE" }, "API_HASH": { - "description": "App hash from my.telegram.org/apps", + "description": "App hash from my.telegram.org/apps or @MT_MyTelegramOrg_Bot", "required": true }, "SUDO_USERS": { - "description": "List of user IDs counted as admin everywhere (separated by space).", + "description": "List of user IDs counted as admin everywhere (separated by space) @MT_SHOWJSON_BOT", "required": true }, "DURATION_LIMIT": { From d18156119bc4c1a619e88433601a5283877bc1a8 Mon Sep 17 00:00:00 2001 From: MRK-YT <81806065+MRK-YT@users.noreply.github.com> Date: Thu, 17 Jun 2021 17:13:08 +0530 Subject: [PATCH 21/23] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e097614..216201d 100644 --- a/README.md +++ b/README.md @@ -34,8 +34,8 @@ Before clicking on deploy to heroku just click on fork and star just below
Click the below button to watch the video tutorial on deploying --
+
+
#### Deploy To Heroku From 1b9d0e2158cb96756d2222b90b2462a87f73c847 Mon Sep 17 00:00:00 2001 From: MRK-YT <81806065+MRK-YT@users.noreply.github.com> Date: Thu, 17 Jun 2021 17:13:53 +0530 Subject: [PATCH 22/23] Update.... --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 216201d..12e7ccd 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Before clicking on deploy to heroku just click on fork and star just below Click the below button to watch the video tutorial on deploying
-
+
#### Deploy To Heroku From f01783c1949b5ee065c6e8cd58c9246d4bc19798 Mon Sep 17 00:00:00 2001 From: ABHINAS ROY <85425565+roymusicplay@users.noreply.github.com> Date: Tue, 13 Jul 2021 16:42:10 +0530 Subject: [PATCH 23/23] Update private.py --- MusicBot/modules/private.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MusicBot/modules/private.py b/MusicBot/modules/private.py index 294e0fb..465b724 100644 --- a/MusicBot/modules/private.py +++ b/MusicBot/modules/private.py @@ -95,7 +95,7 @@ def map(pos): @Client.on_message(filters.command("help") & ~filters.private & ~filters.channel) async def ghelp(_, message: Message): await message.reply_text( - f"""**πββοΈ Hello there! I can play music in the voice chats of telegram groups & channels.**""", + f"""**πββοΈ Hello I am abhina music bot! I can play music in the voice chats of telegram groups & channels.**""", reply_markup=InlineKeyboardMarkup( [ [