diff options
Diffstat (limited to 'docs/api.rst')
| -rw-r--r-- | docs/api.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/api.rst b/docs/api.rst index a7140895..111a1ee1 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -105,6 +105,10 @@ to handle it, which defaults to print a traceback and ignore the exception. Called when the client is done preparing the data received from Discord. Usually after login is successful and the :attr:`Client.servers` and co. are filled up. + .. warning:: + + This function is not guaranteed to be the first event called. + .. function:: on_error(event, \*args, \*\*kwargs) Usually when an event raises an uncaught exception, a traceback is |