fixes
This commit is contained in:
parent
606c78731b
commit
2a133c87da
@ -76,7 +76,10 @@ async def play(_, m: Message):
|
|||||||
if replied.audio.title:
|
if replied.audio.title:
|
||||||
songname = replied.audio.title[:70]
|
songname = replied.audio.title[:70]
|
||||||
else:
|
else:
|
||||||
songname = replied.audio.file_name[:70]
|
if replied.audio.file_name:
|
||||||
|
songname = replied.audio.file_name[:70]
|
||||||
|
else:
|
||||||
|
songname = "Audio"
|
||||||
elif replied.voice:
|
elif replied.voice:
|
||||||
songname = "Voice Note"
|
songname = "Voice Note"
|
||||||
if chat_id in QUEUE:
|
if chat_id in QUEUE:
|
||||||
|
Loading…
Reference in New Issue
Block a user