Commit graph

3 commits

Author SHA1 Message Date
Alexey Skobkin eae24b10db
pylama code style fixes.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-07-10 03:24:15 +03:00
Alexey Skobkin bb72ed3ae2
Logging added. LOG_LEVEL env variable introduced.
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2022-07-10 03:21:07 +03:00
Alexey Skobkin 2e44df0bbd #2 #7 Telegram module (#10)
All checks were successful
continuous-integration/drone/push Build is passing
`telegram` module. Closes #2 #7.

Two service classes:

* `Notifier` class
* `CommandProcessor` class

Two [middlewares](https://github.com/eternnoir/pyTelegramBotAPI/tree/master/examples/middleware):

* `UserAuthMiddleware`
* `ExceptionHandlerMiddleware`

One exception for usage in the code called by the bot:

* `DisplayableException`

Merge **ONLY** after #9 is merged.

Reviewed-on: #10
Reviewed-by: Miroslavsckaya <miroslavsckaya@noreply.git.skobk.in>
2022-05-30 23:54:26 +03:00