mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-21 16:03:10 +00:00
Update docs to reflect Text in Voice related changes
This commit is contained in:
@@ -598,6 +598,7 @@ class PartialMessage(Hashable):
|
||||
the constructor itself, and the second is via the following:
|
||||
|
||||
- :meth:`TextChannel.get_partial_message`
|
||||
- :meth:`VoiceChannel.get_partial_message`
|
||||
- :meth:`Thread.get_partial_message`
|
||||
- :meth:`DMChannel.get_partial_message`
|
||||
|
||||
@@ -621,7 +622,7 @@ class PartialMessage(Hashable):
|
||||
|
||||
Attributes
|
||||
-----------
|
||||
channel: Union[:class:`PartialMessageable`, :class:`TextChannel`, :class:`Thread`, :class:`DMChannel`]
|
||||
channel: Union[:class:`PartialMessageable`, :class:`TextChannel`, :class:`VoiceChannel`, :class:`Thread`, :class:`DMChannel`]
|
||||
The channel associated with this partial message.
|
||||
id: :class:`int`
|
||||
The message ID.
|
||||
@@ -1243,7 +1244,7 @@ class Message(PartialMessage, Hashable):
|
||||
This is not stored long term within Discord's servers and is only used ephemerally.
|
||||
embeds: List[:class:`Embed`]
|
||||
A list of embeds the message has.
|
||||
channel: Union[:class:`TextChannel`, :class:`Thread`, :class:`DMChannel`, :class:`GroupChannel`, :class:`PartialMessageable`]
|
||||
channel: Union[:class:`TextChannel`, :class:`VoiceChannel`, :class:`Thread`, :class:`DMChannel`, :class:`GroupChannel`, :class:`PartialMessageable`]
|
||||
The :class:`TextChannel` or :class:`Thread` that the message was sent from.
|
||||
Could be a :class:`DMChannel` or :class:`GroupChannel` if it's a private message.
|
||||
reference: Optional[:class:`~discord.MessageReference`]
|
||||
|
Reference in New Issue
Block a user