mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-22 08:44:10 +00:00
Documentation fixes in Client.connect.
This commit is contained in:
parent
161e2ebfb0
commit
63f4a769c6
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user