Browse Source

Some documentation fixes for MemberCacheFlags and Intents

pull/5849/head
Rapptz 5 years ago
parent
commit
625a5c2a0b
  1. 3
      discord/client.py

3
discord/client.py

@ -143,11 +143,12 @@ class Client:
intents: :class:`Intents` intents: :class:`Intents`
The intents that you want to enable for the session. This is a way of The intents that you want to enable for the session. This is a way of
disabling and enabling certain gateway events from triggering and being sent. disabling and enabling certain gateway events from triggering and being sent.
If not given, defaults to a regularly constructed :class:`Intents` class.
.. versionadded:: 1.5 .. versionadded:: 1.5
member_cache_flags: :class:`MemberCacheFlags` member_cache_flags: :class:`MemberCacheFlags`
Allows for finer control over how the library caches members. Allows for finer control over how the library caches members.
If not given, defaults to cache as much as possible is with the If not given, defaults to cache as much as possible with the
currently selected intents. currently selected intents.
.. versionadded:: 1.5 .. versionadded:: 1.5

Loading…
Cancel
Save