diff options
| author | apple502j <[email protected]> | 2021-03-31 20:30:41 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-03-31 07:30:41 -0400 |
| commit | 954dd09e18e098ef95047c2bc85c8c58b34a8e29 (patch) | |
| tree | f57bcb6356d2760a9bd9af34a186f7fae2202d9f /docs | |
| parent | Bring back older background task example under a new name (diff) | |
| download | discord.py-954dd09e18e098ef95047c2bc85c8c58b34a8e29.tar.xz discord.py-954dd09e18e098ef95047c2bc85c8c58b34a8e29.zip | |
Deprecate Client.logout
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/api.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api.rst b/docs/api.rst index 0b581d6f..2a081c45 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -201,7 +201,7 @@ to handle it, which defaults to print a traceback and ignoring the exception. .. function:: on_disconnect() Called when the client has disconnected from Discord, or a connection attempt to Discord has failed. - This could happen either through the internet being disconnected, explicit calls to logout, + This could happen either through the internet being disconnected, explicit calls to close, or Discord terminating the connection one way or the other. This function can be called many times without a corresponding :func:`on_connect` call. |