Skip to content

Commit

Permalink
fix(docs): fix broken references to core
Browse files Browse the repository at this point in the history
Signed-off-by: shiftinv <[email protected]>
  • Loading branch information
shiftinv authored Nov 22, 2023
1 parent a7879d5 commit 9157a0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions disnake/ext/commands/slash_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 <Option.description>`."""
""":class:`str`: The slash sub command's description. Shorthand for :attr:`self.body.description <.Option.description>`."""
return self.body.description

@property
Expand Down Expand Up @@ -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 <SlashCommand.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 <SlashCommand.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(
Expand Down

0 comments on commit 9157a0a

Please sign in to comment.