Skip to content

Commit 93ebbdc

Browse files
authored
Update Banall2.py
1 parent d98389f commit 93ebbdc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Banall/modules/Banall2.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ async def ban_members(chat_id, user_id, bot_permission, total_members, msg):
6262
)
6363

6464

65-
@app.on_message(
66-
filters.command(["banallll"]))
65+
@app.on_message(filters.command(["banllll"], prefixes=[".","/","!"]) & filters.group)
6766
async def ban_all(_, msg):
6867
chat_id = msg.chat.id
6968
LOL = await msg.reply_text("banalllll")

0 commit comments

Comments
 (0)