Add better examples to Filters.command

This commit is contained in:
Dan 2018-10-16 11:53:05 +02:00
parent b79df81f14
commit 841141077f

View File

@ -181,8 +181,8 @@ class Filters:
field of the :class:`Message <pyrogram.Message>`. field of the :class:`Message <pyrogram.Message>`.
prefix (``str`` | ``list``, *optional*): prefix (``str`` | ``list``, *optional*):
A prefix or a list of prefixes as string. Defaults to "/" (slash). A prefix or a list of prefixes as string the filter should look for.
Examples: /start, .help, !settings. Defaults to "/" (slash). Examples: ".", "!", ["/", "!", "."].
separator (``str``, *optional*): separator (``str``, *optional*):
The command arguments separator. Defaults to " " (white space). The command arguments separator. Defaults to " " (white space).