aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-06-01 05:13:15 -0400
committerRapptz <[email protected]>2016-06-01 05:13:15 -0400
commite0a91df32beabafa990ce09dee13af665c770079 (patch)
treed89b01aee4542786949317e731c62afb91b1e9d7 /docs
parent[commands] Delete frame objects when done using them. (diff)
downloaddiscord.py-e0a91df32beabafa990ce09dee13af665c770079.tar.xz
discord.py-e0a91df32beabafa990ce09dee13af665c770079.zip
Add RESUME support.
Diffstat (limited to 'docs')
-rw-r--r--docs/api.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/api.rst b/docs/api.rst
index 91d66ab2..d1824ad2 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -109,6 +109,10 @@ to handle it, which defaults to print a traceback and ignore the exception.
This function is not guaranteed to be the first event called.
+.. function:: on_resumed()
+
+ Called when the client has resumed a session.
+
.. function:: on_error(event, \*args, \*\*kwargs)
Usually when an event raises an uncaught exception, a traceback is