fixes and reformat

This commit is contained in:
levina 2022-02-06 13:54:01 +07:00 committed by GitHub
parent 5350b0cf41
commit 702659eead
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,7 @@ async def play(c: Client, m: Message):
user_id = m.from_user.id
user_xd = f"[{m.from_user.first_name}](tg://user?id={m.from_user.id})"
if await is_gbanned_user(user_id):
await message.reply_text(f"❗️ {user_xd} **You've been blocked from using this bot!")
await message.reply_text(f"❗️ {user_xd} **You've blocked from using this bot!**")
return
if m.sender_chat:
return await m.reply_text(