Commit graph

5 commits

Author SHA1 Message Date
mitsuha_s 2bb167fef5 little fix in bot.by and update.py
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-07-14 01:48:20 +00:00
mitsuha_s ab77d44ba3 rename db_dsn to dsn variable in bot.py and update.py
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2022-07-14 01:41:57 +00:00
mitsuha_s 1bdb00e8e7 WIP: migrate to PostgreSQL
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2022-07-11 00:25:44 +00:00
Alexey Skobkin 6ac2610637 Logging added (#34)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #34
Reviewed-by: Miroslavsckaya <miroslavsckaya@noreply.git.skobk.in>
Co-authored-by: Alexey Skobkin <skobkin-ru@ya.ru>
Co-committed-by: Alexey Skobkin <skobkin-ru@ya.ru>
2022-07-10 15:07:26 +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