aboutsummaryrefslogtreecommitdiff
path: root/discord
diff options
context:
space:
mode:
Diffstat (limited to 'discord')
-rw-r--r--discord/abc.py6
-rw-r--r--discord/embeds.py2
-rw-r--r--discord/message.py6
3 files changed, 7 insertions, 7 deletions
diff --git a/discord/abc.py b/discord/abc.py
index 5fd4f188..73376b7c 100644
--- a/discord/abc.py
+++ b/discord/abc.py
@@ -780,10 +780,10 @@ class GuildChannel(Protocol):
Whether to move the channel to the end of the
channel list (or category if given).
This is mutually exclusive with ``beginning``, ``before``, and ``after``.
- before: :class:`abc.Snowflake`
+ before: :class:`~discord.abc.Snowflake`
The channel that should be before our current channel.
This is mutually exclusive with ``beginning``, ``end``, and ``after``.
- after: :class:`abc.Snowflake`
+ after: :class:`~discord.abc.Snowflake`
The channel that should be after our current channel.
This is mutually exclusive with ``beginning``, ``end``, and ``before``.
offset: :class:`int`
@@ -793,7 +793,7 @@ class GuildChannel(Protocol):
while a negative number moves it above. Note that this
number is relative and computed after the ``beginning``,
``end``, ``before``, and ``after`` parameters.
- category: Optional[:class:`abc.Snowflake`]
+ category: Optional[:class:`~discord.abc.Snowflake`]
The category to move this channel under.
If ``None`` is given then it moves it out of the category.
This parameter is ignored if moving a category channel.
diff --git a/discord/embeds.py b/discord/embeds.py
index 8679b36d..3aaaeff3 100644
--- a/discord/embeds.py
+++ b/discord/embeds.py
@@ -528,7 +528,7 @@ class Embed:
@property
def fields(self) -> List[_EmbedFieldProxy]:
- """Union[List[:class:`EmbedProxy`], :attr:`Empty`]: Returns a :class:`list` of ``EmbedProxy`` denoting the field contents.
+ """List[Union[``EmbedProxy``, :attr:`Empty`]]: Returns a :class:`list` of ``EmbedProxy`` denoting the field contents.
See :meth:`add_field` for possible values you can access.
diff --git a/discord/message.py b/discord/message.py
index a7a83312..51347770 100644
--- a/discord/message.py
+++ b/discord/message.py
@@ -1263,8 +1263,8 @@ class Message(Hashable):
async def reply(self, content=None, **kwargs):
"""|coro|
- A shortcut method to :meth:`abc.Messageable.send` to reply to the
- :class:`Message`.
+ A shortcut method to :meth:`.abc.Messageable.send` to reply to the
+ :class:`.Message`.
.. versionadded:: 1.6
@@ -1280,7 +1280,7 @@ class Message(Hashable):
Returns
---------
- :class:`Message`
+ :class:`.Message`
The message that was sent.
"""