diff options
| author | Rapptz <[email protected]> | 2020-09-15 02:03:41 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-09-23 03:21:21 -0400 |
| commit | 625a5c2a0b0ed407b7db4c30cacfca77265f8e80 (patch) | |
| tree | 461ab29a47a00264c2888daf0cfcda19e42a7e19 /discord/client.py | |
| parent | Default MemberCacheFlags based on intents (diff) | |
| download | discord.py-625a5c2a0b0ed407b7db4c30cacfca77265f8e80.tar.xz discord.py-625a5c2a0b0ed407b7db4c30cacfca77265f8e80.zip | |
Some documentation fixes for MemberCacheFlags and Intents
Diffstat (limited to 'discord/client.py')
| -rw-r--r-- | discord/client.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py index e44e5e21..dc6091bd 100644 --- a/discord/client.py +++ b/discord/client.py @@ -143,11 +143,12 @@ class Client: intents: :class:`Intents` 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. + If not given, defaults to a regularly constructed :class:`Intents` class. .. versionadded:: 1.5 member_cache_flags: :class:`MemberCacheFlags` 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. .. versionadded:: 1.5 |