aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNadir Chowdhury <[email protected]>2020-09-08 03:25:11 +0100
committerGitHub <[email protected]>2020-09-07 22:25:11 -0400
commit367c4b5fd2ca228c4d17a8e7de02e768944572e4 (patch)
tree25e9280a97438b86b7a636d47bdb26d88cceee84
parent[commands] add require_var_positional (diff)
downloaddiscord.py-367c4b5fd2ca228c4d17a8e7de02e768944572e4.tar.xz
discord.py-367c4b5fd2ca228c4d17a8e7de02e768944572e4.zip
[docs] remove unresolved doc refs, fix attribute ref
-rw-r--r--discord/ext/commands/core.py2
-rw-r--r--docs/ext/commands/api.rst6
2 files changed, 1 insertions, 7 deletions
diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py
index c33d1d52..04d5c7d9 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 6f08a5cd..5d6742a5 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: