Add RESUME support.

This commit is contained in:
Rapptz
2016-06-01 05:13:15 -04:00
parent 20e86973ea
commit e0a91df32b
4 changed files with 54 additions and 12 deletions

View File

@ -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