Skip to content

Commit

Permalink
fix: 📝 Improve wording in option decorator slightly (#2512)
Browse files Browse the repository at this point in the history
📝 Improve wording in `option` decorator slightly
  • Loading branch information
Paillat-dev authored Aug 1, 2024
1 parent 58d2cde commit 2815e9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion discord/commands/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ def option(name, input_type=None, **kwargs):
Attributes
----------
parameter_name: :class:`str`
The name of the target parameter this option is mapped to.
The name of the target function parameter this option is mapped to.
This allows you to have a separate UI ``name`` and parameter name.
"""

Expand Down
2 changes: 1 addition & 1 deletion discord/ext/bridge/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ def bridge_option(name, input_type=None, **kwargs):
Attributes
----------
parameter_name: :class:`str`
The name of the target parameter this option is mapped to.
The name of the target function parameter this option is mapped to.
This allows you to have a separate UI ``name`` and parameter name.
"""

Expand Down

0 comments on commit 2815e9b

Please sign in to comment.