Visitar URL original
Add better examples to Filters.command · ryuuzake/pyrogram@8411410 · GitHub
Skip to content

Commit 8411410

Browse files
committed
Add better examples to Filters.command
1 parent b79df81 commit 8411410

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎pyrogram/client/filters/filters.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@ def command(command: str or list,
181181
field of the :class:`Message <pyrogram.Message>`.
182182
183183
prefix (``str`` | ``list``, *optional*):
184-
A prefix or a list of prefixes as string. Defaults to "/" (slash).
185-
Examples: /start, .help, !settings.
184+
A prefix or a list of prefixes as string the filter should look for.
185+
Defaults to "/" (slash). Examples: ".", "!", ["/", "!", "."].
186186
187187
separator (``str``, *optional*):
188188
The command arguments separator. Defaults to " " (white space).

0 commit comments

Comments
 (0)