mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-04 22:34:52 +00:00
Make command parameter non-optional
This commit is contained in:
parent
9165c7f591
commit
3b028698f7
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue