aboutsummaryrefslogtreecommitdiff
path: root/discord/ext/commands
diff options
context:
space:
mode:
authorJosh <[email protected]>2021-08-22 19:50:28 +1000
committerGitHub <[email protected]>2021-08-22 05:50:28 -0400
commit9727b56503a8ae091b054ca228b17e405611f1fc (patch)
tree1f0a31408118b37abb77e4c07e617aede651785a /discord/ext/commands
parentTypehint oggparse.py (diff)
downloaddiscord.py-9727b56503a8ae091b054ca228b17e405611f1fc.tar.xz
discord.py-9727b56503a8ae091b054ca228b17e405611f1fc.zip
Fix references in docs
Diffstat (limited to 'discord/ext/commands')
-rw-r--r--discord/ext/commands/errors.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/ext/commands/errors.py b/discord/ext/commands/errors.py
index 3609d6d9..93834385 100644
--- a/discord/ext/commands/errors.py
+++ b/discord/ext/commands/errors.py
@@ -330,7 +330,7 @@ class ChannelNotReadable(BadArgument):
Attributes
-----------
- argument: Union[:class:`.abc.GuildChannel`, :class:`Thread`]
+ argument: Union[:class:`.abc.GuildChannel`, :class:`.Thread`]
The channel supplied by the caller that was not readable
"""
def __init__(self, argument: Union[GuildChannel, Thread]) -> None:
@@ -645,7 +645,7 @@ class NSFWChannelRequired(CheckFailure):
Parameters
-----------
- channel: Union[:class:`.abc.GuildChannel`, :class:`Thread`]
+ channel: Union[:class:`.abc.GuildChannel`, :class:`.Thread`]
The channel that does not have NSFW enabled.
"""
def __init__(self, channel: Union[GuildChannel, Thread]) -> None: