Skip to content

Commit

Permalink
Remove unnecessary warning on fetch_user()
Browse files Browse the repository at this point in the history
  • Loading branch information
dolfies committed Jan 15, 2024
1 parent 12ee711 commit 88ec285
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions discord/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2252,11 +2252,6 @@ async def fetch_user(self, user_id: int, /) -> User:
This method is an API call. If you have member cache enabled, consider :meth:`get_user` instead.
.. warning::
This API route is not well-used by the Discord client and may increase your chances at getting detected.
Consider :meth:`fetch_user_profile` if you share a guild/relationship with the user.
.. versionchanged:: 2.0
``user_id`` parameter is now positional-only.
Expand Down

0 comments on commit 88ec285

Please sign in to comment.