Document commands.Option.name

This commit is contained in:
StockerMC
2021-10-15 13:35:57 -04:00
parent 8f846ba2f5
commit 23b390971f

View File

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