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