aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/client.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/discord/client.py b/discord/client.py
index 80d8dd13..5e0c4b54 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -388,8 +388,10 @@ class Client:
you should run it in an executor or schedule the coroutine to
be executed later using ``loop.create_task``.
- This function throws :exc:`ClientException` if called before
- logging in via :meth:`login`.
+ Raises
+ -------
+ ClientException
+ If this is called before :meth:`login` was invoked successfully.
"""
yield from self._make_websocket()