diff --git a/disnake/ext/commands/slash_core.py b/disnake/ext/commands/slash_core.py index ec1250a408..63b8b48d23 100644 --- a/disnake/ext/commands/slash_core.py +++ b/disnake/ext/commands/slash_core.py @@ -332,7 +332,7 @@ def parents( @property def description(self) -> str: - """:class:`str`: The slash sub command's description. Shorthand for :attr:`self.body.description `.""" + """:class:`str`: The slash sub command's description. Shorthand for :attr:`self.body.description <.Option.description>`.""" return self.body.description @property @@ -510,12 +510,12 @@ def _ensure_assignment_on_copy(self, other: SlashCommandT) -> SlashCommandT: @property def description(self) -> str: - """:class:`str`: The slash command's description. Shorthand for :attr:`self.body.description `.""" + """:class:`str`: The slash command's description. Shorthand for :attr:`self.body.description <.SlashCommand.description>`.""" return self.body.description @property def options(self) -> List[Option]: - """List[:class:`.Option`]: The list of options the slash command has. Shorthand for :attr:`self.body.options `.""" + """List[:class:`.Option`]: The list of options the slash command has. Shorthand for :attr:`self.body.options <.SlashCommand.options>`.""" return self.body.options def sub_command(