Commit graph

12 commits

Author SHA1 Message Date
Alex Root Junior
9cf189ffd2 Cover 100% 2021-05-13 22:04:10 +03:00
Alex Root Junior
4008a3114d
Upgrade architecture + 5.0 Bot API (#469)
Upgrade architecture + 5.0 Bot API (#469)
* Moved `methods`, `types` and `client` to root package
* Removed update handler from routers to dispatcher
* Reworked events propagation mechanism to handlers
* Reworked inner middlewares logic (very small change)
* Updated to Bot API 5.0
* Initial migration from MkDocs to Sphinx + config for readthedocs
2021-01-26 21:20:52 +02:00
sabbyX
7ba153c7b1
HandlerObject: Unwrap handler before awaitable check (#435)
* Unwrap handler before awaitable check

* Remove unused 'type:ignore' comment

* Add wrapped handler tests
2020-10-04 18:26:34 +03:00
Alex Root Junior
01c6303d67 Add extensions for class-based error handler 2020-04-12 23:29:10 +03:00
Boger
a823e275a7 Merge BaseBot to Bot class 2020-03-25 15:36:19 +03:00
Alex Root Junior
3dd5530241 Propagate update to context in router 2020-01-26 02:34:32 +02:00
Alex Root Junior
4caa8faab8 Update tests 2020-01-25 18:26:30 +02:00
Alex Root Junior
ae55497842 Supports Bot API 4.6 (Broken tests) 2020-01-24 01:07:22 +02:00
Alex Root Junior
895b727ddf More class based handlers 2020-01-21 23:33:44 +02:00
jrootjunior
9d78e82f8c Cover Command filter 2019-12-04 18:04:29 +02:00
jrootjunior
1cd993009e Refactor command filter and fix typing 2019-12-03 18:32:21 +02:00
Alex Root Junior
b82a1a6fb0 Add prototype of class-based handlers 2019-12-03 00:03:15 +02:00