From 7dcf0c059c5ddd29c2a07994686ed6f699618494 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Tue, 29 Mar 2016 20:44:33 -0400 Subject: [PATCH] Clarify that Client.close is a coroutine. --- discord/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discord/client.py b/discord/client.py index d1a6f00ab..4df163a8e 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