mirror of
https://github.com/InsanusMokrassar/PlaguBot.git
synced 2025-10-26 17:50:30 +00:00
make it possible to get bot from DI
This commit is contained in:
@@ -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