mirror of
https://github.com/InsanusMokrassar/PlaguBot.git
synced 2025-09-09 02:00:05 +00:00
make it possible to get bot from DI
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
|
||||
## 2.1.1
|
||||
|
||||
* `Bot`:
|
||||
* Now it is possible to get bot from `koin`
|
||||
|
||||
## 2.1.0
|
||||
|
||||
* `Versions`:
|
||||
|
@@ -45,6 +45,7 @@ data class PlaguBot(
|
||||
single { config.databaseConfig.database }
|
||||
single { defaultJsonFormat }
|
||||
single { this@PlaguBot }
|
||||
single { bot }
|
||||
|
||||
includes(
|
||||
config.plugins.mapNotNull {
|
||||
|
Reference in New Issue
Block a user