aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRapptz <[email protected]>2020-07-25 09:37:48 -0400
committerRapptz <[email protected]>2020-07-25 09:59:41 -0400
commit7ed26db3b3a2dbc534d3ff7017ad7eb7b537313a (patch)
tree96bd8644db2f2564b94c3ec9665635eb084250ed /docs
parentPropagate exceptions when an unhandled error happens (diff)
downloaddiscord.py-7ed26db3b3a2dbc534d3ff7017ad7eb7b537313a.tar.xz
discord.py-7ed26db3b3a2dbc534d3ff7017ad7eb7b537313a.zip
Add an exposed way to extract shard-specific information.
Closes #2654
Diffstat (limited to 'docs')
-rw-r--r--docs/api.rst14
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: