mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 02:08:25 +00:00
Add support for ForumChannel.default_layout
This commit is contained in:
20
docs/api.rst
20
docs/api.rst
@ -3210,6 +3210,26 @@ of :class:`enum.Enum`.
|
||||
|
||||
The rule will timeout a user.
|
||||
|
||||
|
||||
.. class:: ForumLayoutType
|
||||
|
||||
Represents how a forum's posts are layed out in the client.
|
||||
|
||||
.. versionadded:: 2.2
|
||||
|
||||
.. attribute:: not_set
|
||||
|
||||
No default has been set, so it is up to the client to know how to lay it out.
|
||||
|
||||
.. attribute:: list_view
|
||||
|
||||
Displays posts as a list.
|
||||
|
||||
.. attribute:: gallery_view
|
||||
|
||||
Displays posts as a collection of tiles.
|
||||
|
||||
|
||||
.. _discord-api-audit-logs:
|
||||
|
||||
Audit Log Data
|
||||
|
Reference in New Issue
Block a user