Dan
1fdc757f2a
Allow on_raw_update to be used as a static decorator
2018-10-13 10:46:29 +02:00
Dan
0025489c86
Allow on_message to behave like a static decorator
...
This enabled usages like @Client.on_message(...).
To preserve positional arguments order and thus ease the static
decorator usage there's a not-so-elegant hack in place that shifts
values.
2018-10-12 14:12:29 +02:00
Dan
6be8f1aae3
Cross reference Handler classes on decorators' docstrings
2018-06-22 12:46:58 +02:00
Vitali
e6c6bd839c
Add Handler to deleted messages update
2018-06-19 11:18:12 -03:00
Dan
dacc0173f1
Document on_disconnect
2018-05-31 13:15:47 +02:00
Dan
9001ccd11f
Add DisconnectHandler
2018-05-23 14:27:17 +02:00
Dan
8454d438be
Refactor the project by using Mixin classes
...
This will cut client.py down from ~4k to ~1k SLOC and also
makes the whole project tidier and more organized.
2018-05-07 14:30:55 +02:00