Spaces:
Running
Running
ok
Browse files
main.py
CHANGED
@@ -43,12 +43,12 @@ def has_code_entity(message):
|
|
43 |
return False
|
44 |
|
45 |
@bot.on_message(filters.command("start") & filters.private)
|
46 |
-
async def
|
47 |
reply_markup = InlineKeyboardMarkup( # type: ignore
|
48 |
[
|
49 |
[
|
50 |
InlineKeyboardButton( # type: ignore
|
51 |
-
"
|
52 |
)
|
53 |
]
|
54 |
]
|
@@ -72,13 +72,26 @@ async def start(client, message):
|
|
72 |
)
|
73 |
)
|
74 |
await message.reply_text(
|
75 |
-
"
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
)
|
81 |
|
|
|
82 |
@bot.on_message(filters.command("addmoduser") & filters.group)
|
83 |
async def addwhitelist(client, message):
|
84 |
if message.from_user.id not in [6477856957]:
|
|
|
43 |
return False
|
44 |
|
45 |
@bot.on_message(filters.command("start") & filters.private)
|
46 |
+
async def start_command(client, message):
|
47 |
reply_markup = InlineKeyboardMarkup( # type: ignore
|
48 |
[
|
49 |
[
|
50 |
InlineKeyboardButton( # type: ignore
|
51 |
+
"Add to Your Group", url=f"https://t.me/{client.me.username}?startgroup=true&admin=manage_chat+change_info+post_messages+edit_messages+delete_messages+invite_users+restrict_members+pin_messages+promote_members+manage_video_chats+anonymous=false"
|
52 |
)
|
53 |
]
|
54 |
]
|
|
|
72 |
)
|
73 |
)
|
74 |
await message.reply_text(
|
75 |
+
f"""
|
76 |
+
👋 **Welcome to Anti Eval Guard!**
|
77 |
+
|
78 |
+
🚫 Bot ini dibuat khusus untuk **melindungi grup Telegram dari eval code, promosi gelap, dan kata kasar.** Cocok buat komunitas developer, server publik, atau grup pribadi yang ingin bersih dari spam!
|
79 |
+
|
80 |
+
🛡️ **FITUR UTAMA:**
|
81 |
+
• Deteksi & hapus otomatis kode berbahaya (Python, JS, SH, PHP, DLL)
|
82 |
+
• Blokir teks promosi seperti "jasa hack", "jual akun", dll
|
83 |
+
• Filter kata kasar, toxic, dan rasis (Indo)
|
84 |
+
• Inline, forward, bahkan markdown tak bisa lolos
|
85 |
+
• Support AI powered moderation (v2)
|
86 |
+
|
87 |
+
🔥 **Note:** Pastikan bot jadi **admin** dan punya izin `Delete`, `Ban`, `Restrict` agar fitur bekerja maksimal!
|
88 |
+
|
89 |
+
🔍 Powered by Ryzenth API — sistem AI moderasi canggih & cepat.
|
90 |
+
""",
|
91 |
+
reply_markup=reply_markup
|
92 |
)
|
93 |
|
94 |
+
|
95 |
@bot.on_message(filters.command("addmoduser") & filters.group)
|
96 |
async def addwhitelist(client, message):
|
97 |
if message.from_user.id not in [6477856957]:
|