[fix] a bug

This commit is contained in:
Xtao_dada 2022-02-17 03:28:53 +08:00 committed by GitHub
parent 56172f2bff
commit 210a5fe23d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,6 +99,9 @@ async def play_tg_file(c: Client, m: Message, replied: Message = None, link: str
duration = convert_seconds(replied.voice.duration)
except BaseException:
pass
# recheck
if not thumbnail:
thumbnail = f"{IMG_5}"
if chat_id in QUEUE:
await suhu.edit("🔄 Queueing Track...")