make it possible to get bot from DI

This commit is contained in:
InsanusMokrassar 2022-08-20 22:10:08 +06:00
parent cdf94ec2eb
commit 7286cf401b
2 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,9 @@
## 2.1.1
* `Bot`:
* Now it is possible to get bot from `koin`
## 2.1.0
* `Versions`:

View File

@ -45,6 +45,7 @@ data class PlaguBot(
single { config.databaseConfig.database }
single { defaultJsonFormat }
single { this@PlaguBot }
single { bot }
includes(
config.plugins.mapNotNull {