From c0fb81ddbe741571b55e7ed28251fb6e7bd5ee96 Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Tue, 14 Sep 2021 10:08:25 +0700 Subject: [PATCH] status info --- bot/videoplayer.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bot/videoplayer.py b/bot/videoplayer.py index bed3ad9..da05e39 100644 --- a/bot/videoplayer.py +++ b/bot/videoplayer.py @@ -209,10 +209,11 @@ async def stopvideo(client, m: Message): await m.reply(f"🚫 **error** | `{e}`") @call_py.on_stream_end() -async def handler(client: PyTgCalls, update: Update): +async def handler(client: PyTgCalls, update: Update, m: Message): LOG.info(f"called ended stream") chat_id = update.chat_id - await call_py.leave_group_call(chat_id) + await call_py.leave_group_call(chat_id) + await m.reply("✅ **successfully left vc !**") @Client.on_message(command(["cplay", f"cplay@{Veez.BOT_USERNAME}"]) & filters.group & ~filters.edited)