mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Update docs with references to text in stage
This commit is contained in:
parent
da4651c97c
commit
fd9f3e9eff
@ -1292,6 +1292,7 @@ class Messageable:
|
||||
|
||||
- :class:`~discord.TextChannel`
|
||||
- :class:`~discord.VoiceChannel`
|
||||
- :class:`~discord.StageChannel`
|
||||
- :class:`~discord.DMChannel`
|
||||
- :class:`~discord.GroupChannel`
|
||||
- :class:`~discord.PartialMessageable`
|
||||
|
@ -700,6 +700,7 @@ class PartialMessage(Hashable):
|
||||
|
||||
- :meth:`TextChannel.get_partial_message`
|
||||
- :meth:`VoiceChannel.get_partial_message`
|
||||
- :meth:`StageChannel.get_partial_message`
|
||||
- :meth:`Thread.get_partial_message`
|
||||
- :meth:`DMChannel.get_partial_message`
|
||||
|
||||
@ -723,7 +724,7 @@ class PartialMessage(Hashable):
|
||||
|
||||
Attributes
|
||||
-----------
|
||||
channel: Union[:class:`PartialMessageable`, :class:`TextChannel`, :class:`VoiceChannel`, :class:`Thread`, :class:`DMChannel`]
|
||||
channel: Union[:class:`PartialMessageable`, :class:`TextChannel`, :class:`StageChannel`, :class:`VoiceChannel`, :class:`Thread`, :class:`DMChannel`]
|
||||
The channel associated with this partial message.
|
||||
id: :class:`int`
|
||||
The message ID.
|
||||
@ -1358,7 +1359,7 @@ class Message(PartialMessage, Hashable):
|
||||
A list of embeds the message has.
|
||||
If :attr:`Intents.message_content` is not enabled this will always be an empty list
|
||||
unless the bot is mentioned or the message is a direct message.
|
||||
channel: Union[:class:`TextChannel`, :class:`VoiceChannel`, :class:`Thread`, :class:`DMChannel`, :class:`GroupChannel`, :class:`PartialMessageable`]
|
||||
channel: Union[:class:`TextChannel`, :class:`StageChannel`, :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`]
|
||||
|
Loading…
x
Reference in New Issue
Block a user