mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-06 11:57:17 +00:00
Fix references in docs
This commit is contained in:
parent
e46d974c8a
commit
9727b56503
@ -745,7 +745,7 @@ class Client:
|
|||||||
-----------
|
-----------
|
||||||
id: :class:`int`
|
id: :class:`int`
|
||||||
The channel ID to create a partial messageable for.
|
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.
|
The underlying channel type for the partial messageable.
|
||||||
|
|
||||||
Returns
|
Returns
|
||||||
|
@ -330,7 +330,7 @@ class ChannelNotReadable(BadArgument):
|
|||||||
|
|
||||||
Attributes
|
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
|
The channel supplied by the caller that was not readable
|
||||||
"""
|
"""
|
||||||
def __init__(self, argument: Union[GuildChannel, Thread]) -> None:
|
def __init__(self, argument: Union[GuildChannel, Thread]) -> None:
|
||||||
@ -645,7 +645,7 @@ class NSFWChannelRequired(CheckFailure):
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
-----------
|
-----------
|
||||||
channel: Union[:class:`.abc.GuildChannel`, :class:`Thread`]
|
channel: Union[:class:`.abc.GuildChannel`, :class:`.Thread`]
|
||||||
The channel that does not have NSFW enabled.
|
The channel that does not have NSFW enabled.
|
||||||
"""
|
"""
|
||||||
def __init__(self, channel: Union[GuildChannel, Thread]) -> None:
|
def __init__(self, channel: Union[GuildChannel, Thread]) -> None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user