Update set_event_handler docstring

This commit is contained in:
Dan 2018-02-09 01:54:47 +01:00
parent 9a912192f0
commit b1064015f6

View File

@ -351,7 +351,8 @@ class Client:
Args:
callback (:obj:`callable`):
A callback function that accepts two arguments: the Client itself and the event (update) object.
A function that takes ``client, event`` as positional arguments.
It will be called when a new event is generated on your account.
"""
self.event_handler = callback