From 3b028698f7986a803e8d8945f80d2e12a08893a6 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Tue, 10 Apr 2018 15:04:31 +0200 Subject: [PATCH] Make command parameter non-optional --- pyrogram/client/filters/filters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/client/filters/filters.py b/pyrogram/client/filters/filters.py index be6a935d..f57f961f 100644 --- a/pyrogram/client/filters/filters.py +++ b/pyrogram/client/filters/filters.py @@ -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(