From 23ae084b8cb3bb5c9d815b791c1a94b0cf53e516 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Mon, 14 Sep 2020 02:52:53 -0400 Subject: Allow finer grained control over the member cache. --- discord/client.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'discord/client.py') diff --git a/discord/client.py b/discord/client.py index c39a26da..861617b7 100644 --- a/discord/client.py +++ b/discord/client.py @@ -141,9 +141,14 @@ class Client: shard_count: Optional[:class:`int`] The total number of shards. intents: :class:`Intents` - A list of 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. - Currently, if no intents are passed then you will receive all data. + + .. versionadded:: 1.5 + member_cache_flags: :class:`MemberCacheFlags` + Allows for finer control over how the library caches members. + + .. versionadded:: 1.5 fetch_offline_members: :class:`bool` Indicates if :func:`.on_ready` should be delayed to fetch all offline members from the guilds the client belongs to. If this is ``False``\, then -- cgit v1.2.3