Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -146,8 +146,8 @@ async def block_inline_via_bot(client, message):
|
|
146 |
return await message.delete()
|
147 |
|
148 |
if check_anti_word_by_ryzenth(message.text):
|
149 |
-
|
150 |
-
|
151 |
|
152 |
|
153 |
@bot.on_message(filters.group, group=-1)
|
|
|
146 |
return await message.delete()
|
147 |
|
148 |
if check_anti_word_by_ryzenth(message.text):
|
149 |
+
logging.info(f"check_anti_word_by_ryzenth: Blocked message from {message.from_user.first_name} in {message.chat.title}")
|
150 |
+
return await message.delete()
|
151 |
|
152 |
|
153 |
@bot.on_message(filters.group, group=-1)
|