fixes message

This commit is contained in:
levina 2022-02-12 13:57:36 +07:00 committed by GitHub
parent 6f295790f8
commit b91423f1bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,7 +87,7 @@ async def vplay(c: Client, m: Message):
) )
return await bot.leave_chat(chat_id) return await bot.leave_chat(chat_id)
if await is_gbanned_user(user_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 return
if m.sender_chat: if m.sender_chat:
return await m.reply_text( return await m.reply_text(
@ -389,7 +389,7 @@ async def vstream(c: Client, m: Message):
) )
return await bot.leave_chat(chat_id) return await bot.leave_chat(chat_id)
if await is_gbanned_user(user_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 return
if m.sender_chat: if m.sender_chat:
return await m.reply_text( return await m.reply_text(