From b91423f1bd61da9fcf88947f362360d30cb51fd0 Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Sat, 12 Feb 2022 13:57:36 +0700 Subject: [PATCH] fixes `message` --- program/video.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/program/video.py b/program/video.py index 793969a..bd74111 100644 --- a/program/video.py +++ b/program/video.py @@ -87,7 +87,7 @@ async def vplay(c: Client, m: Message): ) return await bot.leave_chat(chat_id) if await is_gbanned_user(user_id): - await message.reply_text(f"❗️ {user_xd} **You've blocked from using this bot!**") + await m.reply_text(f"❗️ {user_xd} **You've blocked from using this bot!**") return if m.sender_chat: return await m.reply_text( @@ -389,7 +389,7 @@ async def vstream(c: Client, m: Message): ) return await bot.leave_chat(chat_id) if await is_gbanned_user(user_id): - await message.reply_text(f"❗️ {user_xd} **You've blocked from using this bot!**") + await m.reply_text(f"❗️ {user_xd} **You've blocked from using this bot!**") return if m.sender_chat: return await m.reply_text(