Skip to content

Commit 56d0e74

Browse files
Paillat-devDorukyum
authored andcommitted
fix: 📝 Improve wording in option decorator slightly (#2512)
📝 Improve wording in `option` decorator slightly
1 parent 852aa9b commit 56d0e74

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

discord/commands/options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ def option(name, input_type=None, **kwargs):
424424
Attributes
425425
----------
426426
parameter_name: :class:`str`
427-
The name of the target parameter this option is mapped to.
427+
The name of the target function parameter this option is mapped to.
428428
This allows you to have a separate UI ``name`` and parameter name.
429429
"""
430430

discord/ext/bridge/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ def bridge_option(name, input_type=None, **kwargs):
660660
Attributes
661661
----------
662662
parameter_name: :class:`str`
663-
The name of the target parameter this option is mapped to.
663+
The name of the target function parameter this option is mapped to.
664664
This allows you to have a separate UI ``name`` and parameter name.
665665
"""
666666

0 commit comments

Comments
 (0)