From 02f30f21c4a9f4dfb3264de74590c3327878cbac Mon Sep 17 00:00:00 2001 From: Rapptz Date: Tue, 24 Jan 2017 21:55:23 -0500 Subject: Implement User.profile coroutine to get a user's profile. --- discord/http.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'discord/http.py') diff --git a/discord/http.py b/discord/http.py index 42cf14e5..2750a792 100644 --- a/discord/http.py +++ b/discord/http.py @@ -666,3 +666,6 @@ class HTTPClient: def get_user_info(self, user_id): return self.request(Route('GET', '/users/{user_id}', user_id=user_id)) + + def get_user_profile(self, user_id): + return self.request(Route('GET', '/users/{user_id}/profile', user_id=user_id)) -- cgit v1.2.3