Internal consistency with message related HTTPClient methods

This commit is contained in:
Rapptz committed 2019-04-14 21:05:20 -04:00
1 parent 14a593b026
commit 14d66e7b9c
4 files changed
+16 -16

No files matched your search

+1 -1
View File
@@ -1125,7 +1125,7 @@ class Client:
:class:`~discord.User`
The user you requested.
"""
data = await self.http.get_user_info(user_id)
data = await self.http.get_user(user_id)
return User(state=self._connection, data=data)
async def fetch_user_profile(self, user_id):