aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2020-09-15 02:03:41 -0400
committerRapptz <[email protected]>2020-09-23 03:21:21 -0400
commit625a5c2a0b0ed407b7db4c30cacfca77265f8e80 (patch)
tree461ab29a47a00264c2888daf0cfcda19e42a7e19 /discord/client.py
parentDefault MemberCacheFlags based on intents (diff)
downloaddiscord.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.py3
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