From 23b390971f694613e604618fdd3c47c2c0a5426d Mon Sep 17 00:00:00 2001 From: StockerMC <44980366+StockerMC@users.noreply.github.com> Date: Fri, 15 Oct 2021 13:35:57 -0400 Subject: [PATCH] Document commands.Option.name --- discord/ext/commands/converter.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/discord/ext/commands/converter.py b/discord/ext/commands/converter.py index 0e9a3daf..4406490b 100644 --- a/discord/ext/commands/converter.py +++ b/discord/ext/commands/converter.py @@ -1032,6 +1032,8 @@ class Option(Generic[T, DT]): # type: ignore The default for this option, overwrites Option during parsing. description: :class:`str` The description for this option, is unpacked to :attr:`.Command.option_descriptions` + name: :class:`str` + The name of the option. This defaults to the parameter name. """ description: DT