Add initial support for forum channels

Closes #7652
This commit is contained in:
Rapptz
2022-04-06 22:42:18 -04:00
parent bc91e1667f
commit 23f6876492
12 changed files with 467 additions and 14 deletions

View File

@ -1310,6 +1310,12 @@ of :class:`enum.Enum`.
.. versionadded:: 2.0
.. attribute:: forum
A forum channel.
.. versionadded:: 2.0
.. class:: MessageType
Specifies the type of :class:`Message`. This is used to denote if a message
@ -3736,6 +3742,15 @@ TextChannel
.. automethod:: typing
:async-with:
ForumChannel
~~~~~~~~~~~~~
.. attributetable:: ForumChannel
.. autoclass:: ForumChannel()
:members:
:inherited-members:
Thread
~~~~~~~~
@ -4069,6 +4084,15 @@ ApplicationFlags
.. autoclass:: ApplicationFlags
:members:
ChannelFlags
~~~~~~~~~~~~~~
.. attributetable:: ChannelFlags
.. autoclass:: ChannelFlags
:members:
File
~~~~~