Fix references in docs

This commit is contained in:
Josh 2021-08-22 19:50:28 +10:00 committed by GitHub
parent e46d974c8a
commit 9727b56503
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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: