diff --git a/README.md b/README.md index f4c6805..331e021 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -

SUJANDRA MUSIK

+

RAMS MUSIC

### A bot that can play music on telegram group's voice call

- +

Requirements 📝

@@ -28,8 +28,7 @@ ### Deploy To Heroku -[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/Ependelope53/SujandraMusik) - +[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/ramadhan73/SujandraMusik/tree/patch-1) Use [Repl Link](https://replit.com/@SpEcHiDe/GenerateStringSession) to get pyrogram string session ### Credits diff --git a/handlers/play.py b/handlers/play.py index 02c91bb..e5a31da 100644 --- a/handlers/play.py +++ b/handlers/play.py @@ -94,8 +94,8 @@ async def play(_, message: Message): [ [ InlineKeyboardButton( - text="Channel Bucin", - url="https://t.me/Kutipankataaa") + text="Channel", + url="https://t.me/calonpenyanyi") ],[ InlineKeyboardButton("Close",'cls') @@ -114,7 +114,7 @@ async def play(_, message: Message): file_name = get_file_name(audio) title = file_name - thumb_name = "https://telegra.ph/file/c364d2f8144c33bd301d5.jpg" + thumb_name = "https://telegra.ph/file/21ec80cbf299df8c55c34.jpg" thumbnail = thumb_name duration = round(audio.duration / 60) views = "Locally added" @@ -122,8 +122,8 @@ async def play(_, message: Message): [ [ InlineKeyboardButton( - text="Channel Info", - url=f"https://t.me/AkuUserBot") + text="Channel", + url=f"https://t.me/calonpenyanyi") ] ] @@ -151,23 +151,23 @@ async def play(_, message: Message): [ [ InlineKeyboardButton( - text="Follow Instagram 🌻", - url=f"https://instagram.com/hendraputraaaaaa") + text="owner", + url=f"https://t.me/gksukaribett") ] ] ) except Exception as e: title = "NaN" - thumb_name = "https://telegra.ph/file/c364d2f8144c33bd301d5.jpg" + thumb_name = "https://telegra.ph/file/21ec80cbf299df8c55c34.jpg" duration = "NaN" views = "NaN" keyboard = InlineKeyboardMarkup( [ [ InlineKeyboardButton( - text="Support Group", - url=f"https://t.me/VcgSupportGroup") + text="Support group", + url=f"https://t.me/wavyheartt") ] ] @@ -213,8 +213,8 @@ async def play(_, message: Message): [ [ InlineKeyboardButton( - text="Follow Instagram 🌻", - url=f"https://instagram.com/hendraputraaaaaa") + text="owner", + url=f"https://t.me/gksukaribett") ] ] diff --git a/handlers/private.py b/handlers/private.py index f65d456..eddd475 100644 --- a/handlers/private.py +++ b/handlers/private.py @@ -7,11 +7,11 @@ @Client.on_message(other_filters2) async def start(_, message: Message): - await message.reply_sticker("CAADBQADKAIAAmQgIVd2e584kTrkUgI") + await message.reply_sticker await message.reply_text( - f"""Hai 👋🏻, I am Sujandra 🎵 + f"""Hai 👋🏻, I am Rams music 🎼 -I can play music in your group's voice call. Developed by [Hendra](https://t.me/IamYourEnemy). +I can play music in your group's voice call. Developed by [rama](https://t.me/gksukaribett). Add me to your group and play music freely! """, @@ -19,17 +19,17 @@ async def start(_, message: Message): [ [ InlineKeyboardButton( - "🎛 Commands", url="https://telegra.ph/Sujandra-Musik-04-24") + "🎛 Commands", url="https://telegra.ph/PANDUAN-RAMS-MUSIC-BOT-06-01") ],[ InlineKeyboardButton( - "💬 Group", url="https://t.me/VcgSupportGroup" + "💬 Group", url="https://t.me/wavyheartt" ), InlineKeyboardButton( - "🔊 Channel", url="https://t.me/Kutipankataaa" + "🔊 Channel", url="https://t.me/calonpenyanyi" ) ],[ InlineKeyboardButton( - "🎁 Donasi", url="https://t.me/IamYourEnemy" + "📌 Owner", url="https://t.me/gksukaribett" )] ] ), @@ -43,7 +43,7 @@ async def gstart(_, message: Message): [ [ InlineKeyboardButton( - "Support Channel 🌻", url="https://t.me/AkuUserBot") + "Support Channel 🌻", url="https://t.me/calonpenyanyi") ] ] ) diff --git a/handlers/songs.py b/handlers/songs.py index 31d9667..38ac358 100644 --- a/handlers/songs.py +++ b/handlers/songs.py @@ -45,13 +45,13 @@ def song(client, message): ) print(str(e)) return - m.edit("Downloading the song by @IamYourEnemy...") + m.edit("Downloading the song by @gksukaribett...") try: with youtube_dl.YoutubeDL(ydl_opts) as ydl: info_dict = ydl.extract_info(link, download=False) audio_file = ydl.prepare_filename(info_dict) ydl.process_info(info_dict) - rep = '**🎵 Uploaded by [Hendra](t.me/IamYourEnemy)**' + rep = '**🎵 Uploaded by [rama](t.me/gksukaribett)**' secmul, dur, dur_arr = 1, 0, duration.split(':') for i in range(len(dur_arr)-1, -1, -1): dur += (int(dur_arr[i]) * secmul)