Browse Source

[commands] Add missing description parameter to docs

pull/8985/head
crayyy_zee 3 years ago
committed by GitHub
parent
commit
8f19cfe729
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      discord/ext/commands/parameters.py

2
discord/ext/commands/parameters.py

@ -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.

Loading…
Cancel
Save