added Filters.mentioned

This commit is contained in:
Furoin 2018-11-06 17:13:37 +03:00
parent 91beb214e9
commit 2d0ffcb0f4

View File

@ -168,6 +168,8 @@ class Filters:
dan = create("Dan", lambda _, m: bool(m.from_user and m.from_user.id == 23122162))
mentioned = create("Mentioned", lambda _, m: bool(m.mentioned))
@staticmethod
def command(command: str or list,
prefix: str or list = "/",