something

This commit is contained in:
levina 2022-01-08 22:36:21 +07:00 committed by GitHub
parent e487cc72f0
commit a6f92660be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,9 +111,9 @@ async def stream_end_handler(_, u: Update):
print(chat_id)
op = await skip_current_song(chat_id)
if op==1:
await bot.send_message(chat_id, "**userbot has disconnected from video chat.**")
await bot.send_message(chat_id, "streaming end")
elif op==2:
await bot.send_message(chat_id, "**an error occurred**\n\n» **Clearing** __Queues__ **and leaving video chat.**")
await bot.send_message(chat_id, "an error occurred\n\n» **Clearing** __Queues__ and leaving video chat.")
else:
await bot.send_message(chat_id, f"💡 **Streaming next track**\n\n🏷 **Name:** [{op[0]}]({op[1]}) | `{op[2]}`\n💭 **Chat:** `{chat_id}`", disable_web_page_preview=True, reply_markup=keyboard)
else: