From 367c4b5fd2ca228c4d17a8e7de02e768944572e4 Mon Sep 17 00:00:00 2001 From: Nadir Chowdhury Date: Tue, 8 Sep 2020 03:25:11 +0100 Subject: [PATCH] [docs] remove unresolved doc refs, fix attribute ref --- discord/ext/commands/core.py | 2 +- docs/ext/commands/api.rst | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py index c33d1d52e..04d5c7d9c 100644 --- a/discord/ext/commands/core.py +++ b/discord/ext/commands/core.py @@ -1035,7 +1035,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:`checks` attribute. This also checks whether the command is disabled. .. versionchanged:: 1.3 diff --git a/docs/ext/commands/api.rst b/docs/ext/commands/api.rst index 6f08a5cdb..5d6742a55 100644 --- a/docs/ext/commands/api.rst +++ b/docs/ext/commands/api.rst @@ -353,15 +353,9 @@ Exceptions .. autoexception:: discord.ext.commands.ChannelNotReadable :members: -.. autoexception:: discord.ext.commands.InvalidColour - :members: - .. autoexception:: discord.ext.commands.RoleNotFound :members: -.. autoexception:: discord.ext.commands.InvalidInvite - :members: - .. autoexception:: discord.ext.commands.EmojiNotFound :members: