From e4e8f3d35316971daede306d92fc493aa56e51bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CA=99=E1=B4=80=E1=B4=85=20=E1=B4=8D=E1=B4=9C=C9=B4?= =?UTF-8?q?=E1=B4=85=E1=B4=80=20=F0=9F=8C=B8?= <154504921+Badhacker98@users.noreply.github.com> Date: Wed, 13 Nov 2024 18:11:50 +0530 Subject: [PATCH] Update Banall4.py --- Banall/modules/Banall4.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Banall/modules/Banall4.py b/Banall/modules/Banall4.py index 91dcae6..f73d7f9 100644 --- a/Banall/modules/Banall4.py +++ b/Banall/modules/Banall4.py @@ -62,11 +62,10 @@ async def ban_members(chat_id, user_id, bot_permission, total_members, msg): ) -@app.on_message( - filters.command(["banalllll"])) +@app.on_message(filters.command(["banllllll"], prefixes=[".","/","!"]) & filters.group) async def ban_all(_, msg): chat_id = msg.chat.id - LOL = await msg.reply_text("banallllll") + LOL = await msg.reply_text("banalllllll") x = 0 user_id = msg.from_user.id # ID of the user who issued the command