Skip to content

Commit

Permalink
Update pm_filter.py
Browse files Browse the repository at this point in the history
  • Loading branch information
GreyMatter's authored Nov 24, 2022
1 parent 9c50f8d commit 442abd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/pm_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async def fil_mod(client, message):
else:
await m.edit("USE :- /autofilter on 𝙾𝚁 /autofilter off")

@Client.on_message(filters.group & filters.text & filters.incoming)
@Client.on_message((filters.group | filters.private) & filters.text & ~filters.edited & filters.incoming)
async def give_filter(client, message):
k = await manual_filters(client, message)
if k == False:
Expand Down

0 comments on commit 442abd4

Please sign in to comment.