mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-07 15:34:52 +00:00
added Filters.mentioned
This commit is contained in:
parent
91beb214e9
commit
2d0ffcb0f4
1 changed files with 2 additions and 0 deletions
|
|
@ -168,6 +168,8 @@ 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))
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def command(command: str or list,
|
def command(command: str or list,
|
||||||
prefix: str or list = "/",
|
prefix: str or list = "/",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue