diff options
| author | Josh <[email protected]> | 2021-08-22 19:50:28 +1000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-08-22 05:50:28 -0400 |
| commit | 9727b56503a8ae091b054ca228b17e405611f1fc (patch) | |
| tree | 1f0a31408118b37abb77e4c07e617aede651785a | |
| parent | Typehint oggparse.py (diff) | |
| download | discord.py-9727b56503a8ae091b054ca228b17e405611f1fc.tar.xz discord.py-9727b56503a8ae091b054ca228b17e405611f1fc.zip | |
Fix references in docs
| -rw-r--r-- | discord/client.py | 2 | ||||
| -rw-r--r-- | discord/ext/commands/errors.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/discord/client.py b/discord/client.py index acd1fda8..1c5f496c 100644 --- a/discord/client.py +++ b/discord/client.py @@ -745,7 +745,7 @@ class Client: ----------- id: :class:`int` The channel ID to create a partial messageable for. - type: Optional[:class:`ChannelType`] + type: Optional[:class:`.ChannelType`] The underlying channel type for the partial messageable. Returns 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: |