aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpikaninja <[email protected]>2021-04-27 18:56:00 -0700
committerRapptz <[email protected]>2021-05-01 10:31:27 -0400
commit318166d875edf84dad5488a8169bb8160b1d88ad (patch)
treeb9fd3279fd85d721bf143e8b53b8b07202e1be94
parentAdjust quickstart to not show commands example (diff)
downloaddiscord.py-318166d875edf84dad5488a8169bb8160b1d88ad.tar.xz
discord.py-318166d875edf84dad5488a8169bb8160b1d88ad.zip
[docs] Update notes for get_user and get_member
-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 c51a8a2e..1c35fddf 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -1362,7 +1362,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 c8754ffb..a7eb4c55 100644
--- a/discord/guild.py
+++ b/discord/guild.py
@@ -1375,7 +1375,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
-----------