make it possible to get bot from DI

This commit is contained in:
InsanusMokrassar committed 2022-08-20 22:10:08 +06:00
1 parent cdf94ec2eb
commit 7286cf401b
2 files changed
+4

No files matched your search

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