mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 05:18:10 +00:00
Update filters.py
This commit is contained in:
parent
5da5cabf4c
commit
0943761a91
@ -169,6 +169,7 @@ class Filters:
|
|||||||
dan = create("Dan", lambda _, m: bool(m.from_user and m.from_user.id == 23122162))
|
dan = create("Dan", lambda _, m: bool(m.from_user and m.from_user.id == 23122162))
|
||||||
|
|
||||||
mentioned = create("Mentioned", lambda _, m: bool(m.mentioned))
|
mentioned = create("Mentioned", lambda _, m: bool(m.mentioned))
|
||||||
|
"""Filter messages containing mentions"""
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def command(command: str or list,
|
def command(command: str or list,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user