From ff3d27e4eb8e846c153ffe95ca351412c78d4fa1 Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Sat, 12 Feb 2022 13:58:37 +0700 Subject: [PATCH] fixes `message` --- program/music.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/music.py b/program/music.py index 56dfe3f..a1bf67d 100644 --- a/program/music.py +++ b/program/music.py @@ -72,7 +72,7 @@ async def play(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(