mirror of
https://github.com/InsanusMokrassar/PlaguBot.git
synced 2026-11-03 01:53:47 +00:00
make it possible to get bot from DI
This commit is contained in:
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 {
|
||||
|
||||
Reference in new issue
Block a user