mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Add enable_debug_events parameter to enable expensive debug events
This should allow less dispatching during heavy gateway event streams.
This commit is contained in:
1 parent
2de0398d66
commit
b640493300
3 files changed
+30
-3
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user