Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -309,7 +309,7 @@ async def start_command(client, message):
|
|
309 |
upsert=True,
|
310 |
)
|
311 |
await client.send_message(
|
312 |
-
-
|
313 |
"Anti Eval Bot (Start) Logs\n\n"
|
314 |
f"First Name: {message.from_user.mention}\n"
|
315 |
f"UserID: `{message.from_user.id}`\n"
|
@@ -565,6 +565,8 @@ async def markdown_code(client, message):
|
|
565 |
)
|
566 |
if get_user and message.from_user.id in get_user.get("whitelist_user", []):
|
567 |
return
|
|
|
|
|
568 |
|
569 |
if contains_stylish_with_whitelist(message.text):
|
570 |
logging.info(f"contains_stylish_with_whitelist: Blocked message from {message.from_user.first_name} in {message.chat.title}")
|
|
|
309 |
upsert=True,
|
310 |
)
|
311 |
await client.send_message(
|
312 |
+
-1001589752824,
|
313 |
"Anti Eval Bot (Start) Logs\n\n"
|
314 |
f"First Name: {message.from_user.mention}\n"
|
315 |
f"UserID: `{message.from_user.id}`\n"
|
|
|
565 |
)
|
566 |
if get_user and message.from_user.id in get_user.get("whitelist_user", []):
|
567 |
return
|
568 |
+
if message.chat.id == -1001589752824:
|
569 |
+
return
|
570 |
|
571 |
if contains_stylish_with_whitelist(message.text):
|
572 |
logging.info(f"contains_stylish_with_whitelist: Blocked message from {message.from_user.first_name} in {message.chat.title}")
|