[check] some fixes

This commit is contained in:
levina 2022-02-27 22:02:47 +07:00 committed by GitHub
parent 10e93fb8b7
commit 4a633ae802
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,11 +128,12 @@ async def stream_end_handler(_, u: Update):
print(chat_id)
op = await skip_current_song(chat_id)
if op == 1:
pass
await remove_active_chat(chat_id)
return
elif op == 2:
await bot.send_message(
chat_id,
"❌ an error occurred\n\n» **Clearing** __Queues__ and leaving video chat.",
"❌ an error occurred\n\n» **Clearing** Queues and leaving video chat.",
)
else:
await bot.send_message(