diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/api.rst | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/docs/api.rst b/docs/api.rst index 601a6c01..8fdd32c4 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -2756,7 +2756,7 @@ Data Classes Some classes are just there to be data containers, this lists them. Unlike :ref:`models <discord_api_models>` you are allowed to create -these yourself, even if they can also be used to hold attributes. +most of these yourself, even if they can also be used to hold attributes. Nearly all classes here have :ref:`py:slots` defined which means that it is impossible to have dynamic attributes to the data classes. @@ -2837,22 +2837,28 @@ PermissionOverwrite .. autoclass:: PermissionOverwrite :members: +ShardInfo +~~~~~~~~~~~ + +.. autoclass:: ShardInfo() + :members: + SystemChannelFlags ~~~~~~~~~~~~~~~~~~~~ -.. autoclass:: SystemChannelFlags +.. autoclass:: SystemChannelFlags() :members: MessageFlags ~~~~~~~~~~~~ -.. autoclass:: MessageFlags +.. autoclass:: MessageFlags() :members: PublicUserFlags ~~~~~~~~~~~~~~~ -.. autoclass:: PublicUserFlags +.. autoclass:: PublicUserFlags() :members: |