Skip to content

Commit 318166d

Browse files
pikaninjaRapptz
authored andcommitted
[docs] Update notes for get_user and get_member
1 parent 648b786 commit 318166d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

discord/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1362,7 +1362,7 @@ async def fetch_user(self, user_id):
13621362
13631363
.. note::
13641364
1365-
This method is an API call. For general usage, consider :meth:`get_user` instead.
1365+
This method is an API call. If you have :attr:`Intents.members` and member cache enabled, consider :meth:`get_user` instead.
13661366
13671367
Parameters
13681368
-----------

discord/guild.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1375,7 +1375,7 @@ async def fetch_member(self, member_id):
13751375
13761376
.. note::
13771377
1378-
This method is an API call. For general usage, consider :meth:`get_member` instead.
1378+
This method is an API call. If you have :attr:`Intents.members` and member cache enabled, consider :meth:`get_member` instead.
13791379
13801380
Parameters
13811381
-----------

0 commit comments

Comments
 (0)