This repository was archived by the owner on Jul 30, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -417,8 +417,11 @@ async def play(_, message: Message):
417
417
user_name = message .from_user .first_name
418
418
rpk = "[" + user_name + "](tg://user?id=" + str (user_id ) + ")"
419
419
if message .reply_to_message :
420
+ if message .reply_to_message .audio :
421
+ pass
420
422
entities = []
421
- toxt = message .reply_to_message .text or message .reply_to_message .caption
423
+ toxt = message .reply_to_message .text \
424
+ or message .reply_to_message .caption
422
425
if message .reply_to_message .entities :
423
426
entities = message .reply_to_message .entities + entities
424
427
elif message .reply_to_message .caption_entities :
@@ -453,7 +456,7 @@ async def play(_, message: Message):
453
456
)
454
457
file_name = get_file_name (audio )
455
458
title = file_name
456
- thumb_name = "https://telegra.ph/file/cf19dda907391656338eb .png"
459
+ thumb_name = "https://telegra.ph/file/f6086f8909fbfeb0844f2 .png"
457
460
thumbnail = thumb_name
458
461
duration = round (audio .duration / 60 )
459
462
views = "Locally added"
@@ -598,7 +601,7 @@ async def play(_, message: Message):
598
601
await message .reply_photo (
599
602
photo = "final.png" ,
600
603
reply_markup = keyboard ,
601
- caption = "▶️ <b>Playing</b> the song requested by {} via Youtube Music 😎 in Linked Channel" .format (
604
+ caption = "▶️ <b>Playing</b> the song requested by {} via YouTube Music in Linked Channel" .format (
602
605
message .from_user .mention ()
603
606
),
604
607
)
You can’t perform that action at this time.
0 commit comments