aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-03-29 20:44:33 -0400
committerRapptz <[email protected]>2016-03-29 20:44:33 -0400
commit7dcf0c059c5ddd29c2a07994686ed6f699618494 (patch)
tree0c02985ff730abf89f98800e34a5ca4575872005
parentAdd Member.colour property to get rendered role colour of a member. (diff)
downloaddiscord.py-7dcf0c059c5ddd29c2a07994686ed6f699618494.tar.xz
discord.py-7dcf0c059c5ddd29c2a07994686ed6f699618494.zip
Clarify that Client.close is a coroutine.
-rw-r--r--discord/client.py4
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