diff options
| author | Rapptz <[email protected]> | 2016-03-29 20:44:33 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2016-03-29 20:44:33 -0400 |
| commit | 7dcf0c059c5ddd29c2a07994686ed6f699618494 (patch) | |
| tree | 0c02985ff730abf89f98800e34a5ca4575872005 | |
| parent | Add Member.colour property to get rendered role colour of a member. (diff) | |
| download | discord.py-7dcf0c059c5ddd29c2a07994686ed6f699618494.tar.xz discord.py-7dcf0c059c5ddd29c2a07994686ed6f699618494.zip | |
Clarify that Client.close is a coroutine.
| -rw-r--r-- | discord/client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/client.py b/discord/client.py index d1a6f00a..4df163a8 100644 --- a/discord/client.py +++ b/discord/client.py @@ -544,9 +544,9 @@ class Client: @asyncio.coroutine def close(self): - """Closes the websocket connection. + """|coro| - To reconnect the websocket connection, :meth:`connect` must be used. + Closes the connection to discord. """ if self.is_closed: return |