Make command parameter non-optional
This commit is contained in:
parent
9165c7f591
commit
3b028698f7
@ -32,7 +32,7 @@ class Filters:
|
|||||||
text = build("Text", lambda _, m: bool(m.text and not m.text.startswith("/")))
|
text = build("Text", lambda _, m: bool(m.text and not m.text.startswith("/")))
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def command(command: str or list = list()):
|
def command(command: str or list):
|
||||||
return build(
|
return build(
|
||||||
"Command",
|
"Command",
|
||||||
lambda _, m: bool(
|
lambda _, m: bool(
|
||||||
|
Loading…
Reference in New Issue
Block a user