Fix various reference issues in documentation

Co-Authored-By: Riley Shaw <30989490+ShineyDev@users.noreply.github.com>
This commit is contained in:
JoshandRiley Shaw authored and GitHub committed 2021-05-06 07:51:07 -04:00
1 parent 1bf7aadf94
commit 3864fb37a0
24 files changed
+106 -52

No files matched your search

+3 -3
View File
@@ -908,9 +908,9 @@ class Command(_BaseCommand):
def short_doc(self):
""":class:`str`: Gets the "short" documentation of a command.
By default, this is the :attr:`brief` attribute.
By default, this is the :attr:`.brief` attribute.
If that lookup leads to an empty string then the first line of the
:attr:`help` attribute is used instead.
:attr:`.help` attribute is used instead.
"""
if self.brief is not None:
return self.brief
@@ -979,7 +979,7 @@ class Command(_BaseCommand):
"""|coro|
Checks if the command can be executed by checking all the predicates
inside the :attr:`checks` attribute. This also checks whether the
inside the :attr:`~Command.checks` attribute. This also checks whether the
command is disabled.
.. versionchanged:: 1.3