aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRapptz <[email protected]>2021-07-31 20:35:16 -0400
committerRapptz <[email protected]>2021-07-31 20:35:28 -0400
commitb6404933001207dcd03b59f185cce0221b071147 (patch)
tree9d3c964b645d7e027df8362394dd336c4dca5568 /docs
parentCast removed thread member IDs to int (diff)
downloaddiscord.py-b6404933001207dcd03b59f185cce0221b071147.tar.xz
discord.py-b6404933001207dcd03b59f185cce0221b071147.zip
Add enable_debug_events parameter to enable expensive debug events
This should allow less dispatching during heavy gateway event streams.
Diffstat (limited to 'docs')
-rw-r--r--docs/api.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/api.rst b/docs/api.rst
index 77be49ca..c8a09d88 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -318,6 +318,8 @@ to handle it, which defaults to print a traceback and ignoring the exception.
This is only really useful for grabbing the WebSocket stream and
debugging purposes.
+ This requires setting the ``enable_debug_events`` setting in the :class:`Client`.
+
.. note::
This is only for the messages received from the client
@@ -337,6 +339,8 @@ to handle it, which defaults to print a traceback and ignoring the exception.
This is only really useful for grabbing the WebSocket stream and
debugging purposes.
+ This requires setting the ``enable_debug_events`` setting in the :class:`Client`.
+
.. note::
This is only for the messages sent from the client