[commands] Add missing description parameter to docs

This commit is contained in:
crayyy_zee 2022-10-06 02:59:42 +05:00 committed by GitHub
parent a592361f29
commit 8f19cfe729
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -194,7 +194,7 @@ def parameter(
description: str = empty,
displayed_default: str = empty,
) -> Any:
r"""parameter(\*, converter=..., default=..., displayed_default=...)
r"""parameter(\*, converter=..., default=..., description=..., displayed_default=...)
A way to assign custom metadata for a :class:`Command`\'s parameter.