fixes message

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

View File

@ -72,7 +72,7 @@ async def play(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(