setupDI

open override fun Module.setupDI(database: Database, params: JsonObject)

Creating CommandsKeeper and pass it to the DI. It uses org.koin.core.scope.Scope.getAll to get all the BotCommandFullInfo instances declared in the DI.

Sources

Link copied to clipboard