Add better examples to Filters.command
This commit is contained in:
parent
b79df81f14
commit
841141077f
@ -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).
|
||||||
|
Loading…
Reference in New Issue
Block a user