aboutsummaryrefslogtreecommitdiff
path: root/discord
diff options
context:
space:
mode:
authorpikaninja <[email protected]>2021-04-27 18:56:00 -0700
committerGitHub <[email protected]>2021-04-27 21:56:00 -0400
commit56f4ae3a83c385facd4b8e23e7b45d4355ae3871 (patch)
tree5b41ba22b5cc38f04181a25d4d696cb32ee9f107 /discord
parentFix AttributeError in examples (diff)
downloaddiscord.py-56f4ae3a83c385facd4b8e23e7b45d4355ae3871.tar.xz
discord.py-56f4ae3a83c385facd4b8e23e7b45d4355ae3871.zip
[docs] Update notes for get_user and get_member
Diffstat (limited to 'discord')
-rw-r--r--discord/client.py2
-rw-r--r--discord/guild.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/discord/client.py b/discord/client.py
index 4585e8a7..8c6f4936 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -1257,7 +1257,7 @@ class Client:
.. note::
- This method is an API call. For general usage, consider :meth:`get_user` instead.
+ This method is an API call. If you have :attr:`Intents.members` and member cache enabled, consider :meth:`get_user` instead.
Parameters
-----------
diff --git a/discord/guild.py b/discord/guild.py
index 99957805..a54da6f0 100644
--- a/discord/guild.py
+++ b/discord/guild.py
@@ -1278,7 +1278,7 @@ class Guild(Hashable):
.. note::
- This method is an API call. For general usage, consider :meth:`get_member` instead.
+ This method is an API call. If you have :attr:`Intents.members` and member cache enabled, consider :meth:`get_member` instead.
Parameters
-----------