diff options
Diffstat (limited to 'discord/client.py')
| -rw-r--r-- | discord/client.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/discord/client.py b/discord/client.py index 22c25db7..85035535 100644 --- a/discord/client.py +++ b/discord/client.py @@ -495,6 +495,8 @@ class Client: Keyword argument that specifies if the account logging on is a bot token or not. + .. deprecated:: 1.7 + Raises ------ :exc:`.LoginFailure` @@ -1385,11 +1387,14 @@ class Client: data = await self.http.get_user(user_id) return User(state=self._connection, data=data) + @utils.deprecated() async def fetch_user_profile(self, user_id): """|coro| Gets an arbitrary user's profile. + .. deprecated:: 1.7 + .. note:: This can only be used by non-bot accounts. |