mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 10:22:59 +00:00
Add raw presence update evemt
This commit is contained in:
@ -237,6 +237,15 @@ class Client:
|
||||
To enable these events, this must be set to ``True``. Defaults to ``False``.
|
||||
|
||||
.. versionadded:: 2.0
|
||||
enable_raw_presences: :class:`bool`
|
||||
Whether to manually enable or disable the :func:`on_raw_presence_update` event.
|
||||
|
||||
Setting this flag to ``True`` requires :attr:`Intents.presences` to be enabled.
|
||||
|
||||
By default, this flag is set to ``True`` only when :attr:`Intents.presences` is enabled and :attr:`Intents.members`
|
||||
is disabled, otherwise it's set to ``False``.
|
||||
|
||||
.. versionadded:: 2.5
|
||||
http_trace: :class:`aiohttp.TraceConfig`
|
||||
The trace configuration to use for tracking HTTP requests the library does using ``aiohttp``.
|
||||
This allows you to check requests the library is using. For more information, check the
|
||||
|
Reference in New Issue
Block a user