fixes and reformat
This commit is contained in:
parent
5350b0cf41
commit
702659eead
@ -55,7 +55,7 @@ async def play(c: Client, m: Message):
|
|||||||
user_id = m.from_user.id
|
user_id = m.from_user.id
|
||||||
user_xd = f"[{m.from_user.first_name}](tg://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):
|
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
|
return
|
||||||
if m.sender_chat:
|
if m.sender_chat:
|
||||||
return await m.reply_text(
|
return await m.reply_text(
|
||||||
|
Loading…
Reference in New Issue
Block a user