mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-31 22:35:36 +00:00
Make command parameter non-optional
This commit is contained in:
@@ -32,7 +32,7 @@ class Filters:
|
||||
text = build("Text", lambda _, m: bool(m.text and not m.text.startswith("/")))
|
||||
|
||||
@staticmethod
|
||||
def command(command: str or list = list()):
|
||||
def command(command: str or list):
|
||||
return build(
|
||||
"Command",
|
||||
lambda _, m: bool(
|
||||
|
Reference in New Issue
Block a user