From 9157a0a0cb7d385572d177dabed512eaf19a39d8 Mon Sep 17 00:00:00 2001 From: shiftinv <8530778+shiftinv@users.noreply.github.com> Date: Wed, 22 Nov 2023 14:46:55 +0100 Subject: [PATCH] fix(docs): fix broken references to core Signed-off-by: shiftinv <8530778+shiftinv@users.noreply.github.com> --- disnake/ext/commands/slash_core.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(