refactor: Adjust koin module API
This commit is contained in:
parent
96c85a351e
commit
1a3e8a3335
3 changed files with 17 additions and 8 deletions
|
@ -1,6 +1,7 @@
|
|||
package io.github.null2264.tsukumogami.bot
|
||||
|
||||
import co.touchlab.kermit.Logger
|
||||
import io.github.null2264.tsukumogami.bot.core.di.appModule
|
||||
import io.github.null2264.tsukumogami.bot.core.module.generalModule
|
||||
import io.github.null2264.tsukumogami.core.bot
|
||||
|
||||
|
@ -14,5 +15,7 @@ suspend fun main() {
|
|||
prefixes("src!", "mm!") // mm! for backwards compatibility
|
||||
|
||||
modules(generalModule)
|
||||
|
||||
koinModules(appModule)
|
||||
}.start()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue