diff options
| author | pikaninja <[email protected]> | 2021-04-27 18:56:00 -0700 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2021-05-01 10:31:27 -0400 |
| commit | 318166d875edf84dad5488a8169bb8160b1d88ad (patch) | |
| tree | b9fd3279fd85d721bf143e8b53b8b07202e1be94 | |
| parent | Adjust quickstart to not show commands example (diff) | |
| download | discord.py-318166d875edf84dad5488a8169bb8160b1d88ad.tar.xz discord.py-318166d875edf84dad5488a8169bb8160b1d88ad.zip | |
[docs] Update notes for get_user and get_member
| -rw-r--r-- | discord/client.py | 2 | ||||
| -rw-r--r-- | discord/guild.py | 2 |
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 ----------- |