aboutsummaryrefslogtreecommitdiff
path: root/discord/flags.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2020-09-24 01:36:02 -0400
committerRapptz <[email protected]>2020-09-24 01:39:45 -0400
commit59d514fcdffac184e5dae45c8b4d4ebe9eb12427 (patch)
treea34edfd23fe4be4e00dad1eb9b99722d221231be /discord/flags.py
parentAdd chunk_guilds_at_startup and deprecate fetch_offline_members (diff)
downloaddiscord.py-59d514fcdffac184e5dae45c8b4d4ebe9eb12427.tar.xz
discord.py-59d514fcdffac184e5dae45c8b4d4ebe9eb12427.zip
More intent related documentation
Diffstat (limited to 'discord/flags.py')
-rw-r--r--discord/flags.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/discord/flags.py b/discord/flags.py
index 3c5da0fb..981d1b30 100644
--- a/discord/flags.py
+++ b/discord/flags.py
@@ -103,7 +103,7 @@ class BaseFlags:
for name, value in self.__class__.__dict__.items():
if isinstance(value, alias_flag_value):
continue
-
+
if isinstance(value, flag_value):
yield (name, self._has_flag(value.flag))
@@ -339,7 +339,7 @@ class PublicUserFlags(BaseFlags):
def verified_bot_developer(self):
""":class:`bool`: Returns ``True`` if the user is an Early Verified Bot Developer."""
return UserFlags.verified_bot_developer.value
-
+
@alias_flag_value
def early_verified_bot_developer(self):
""":class:`bool`: An alias for :attr:`verified_bot_developer`.
@@ -785,8 +785,8 @@ class MemberCacheFlags(BaseFlags):
"""Controls the library's cache policy when it comes to members.
This allows for finer grained control over what members are cached.
- For more information, check :attr:`Client.member_cache_flags`. Note
- that the bot's own member is always cached.
+ Note that the bot's own member is always cached. This class is passed
+ to the ``member_cache_flags`` parameter in :class:`Client`.
Due to a quirk in how Discord works, in order to ensure proper cleanup
of cache resources it is recommended to have :attr:`Intents.members`