Ufoptg commited on
Commit
b34cf28
1 Parent(s): 09d842b

Update code.py

Browse files
Files changed (1) hide show
  1. code.py +1 -2
code.py CHANGED
@@ -74,7 +74,7 @@ async def check_blacklist(client, message):
74
  reply_markup = InlineKeyboardMarkup(buttons)
75
  await client.send_message(
76
  chat_id=message.chat.id,
77
- text="Your message has been deleted due to a blacklisted word. Please select an action:",
78
  reply_to_message_id=message.id,
79
  reply_markup=reply_markup,
80
  )
@@ -107,7 +107,6 @@ async def handle_button(client, callback_query):
107
  chat_id=callback_query.message.chat.id, user_id=callback_query.from_user.id
108
  )
109
 
110
-
111
  await callback_query.message.edit_text(f"@{callback_query.from_user.username} has been banned.")
112
 
113
  await asyncio.sleep(10) # Pause for 10 seconds
 
74
  reply_markup = InlineKeyboardMarkup(buttons)
75
  await client.send_message(
76
  chat_id=message.chat.id,
77
+ text=f"@{message.from_user.username}, Your message has been deleted due to a blacklisted word. Please select an action:",
78
  reply_to_message_id=message.id,
79
  reply_markup=reply_markup,
80
  )
 
107
  chat_id=callback_query.message.chat.id, user_id=callback_query.from_user.id
108
  )
109
 
 
110
  await callback_query.message.edit_text(f"@{callback_query.from_user.username} has been banned.")
111
 
112
  await asyncio.sleep(10) # Pause for 10 seconds