diff options
| author | Rapptz <[email protected]> | 2015-12-05 05:48:09 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2015-12-05 05:48:09 -0500 |
| commit | 63f4a769c672fb05d4ab75e69ac8d77262b58f6c (patch) | |
| tree | 6b0ad09358669fcc55b33979af9cc5d0735e392a | |
| parent | Add role management functions. (diff) | |
| download | discord.py-63f4a769c672fb05d4ab75e69ac8d77262b58f6c.tar.xz discord.py-63f4a769c672fb05d4ab75e69ac8d77262b58f6c.zip | |
Documentation fixes in Client.connect.
| -rw-r--r-- | discord/client.py | 6 |
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() |