mirror of
https://github.com/InsanusMokrassar/TelegramBotApiLibraries.git
synced 2024-11-17 13:53:50 +00:00
fix
This commit is contained in:
parent
53630d4864
commit
1c87f64a6d
@ -20,6 +20,7 @@ import org.koin.core.Koin
|
||||
import org.koin.core.module.Module
|
||||
import org.koin.core.qualifier.named
|
||||
import org.koin.core.scope.Scope
|
||||
import org.koin.dsl.binds
|
||||
|
||||
val Scope.adminsPlugin: AdminsPlugin?
|
||||
get() = getOrNull()
|
||||
@ -90,7 +91,9 @@ class AdminsPlugin : Plugin {
|
||||
get(scopeQualifier)
|
||||
)
|
||||
}
|
||||
single { DefaultAdminsCacheAPI(get(), get(), get()) }
|
||||
single { DefaultAdminsCacheAPI(get(), get(), get()) } binds arrayOf(
|
||||
AdminsCacheAPI::class
|
||||
)
|
||||
}
|
||||
|
||||
override suspend fun BehaviourContext.setupBotPlugin(koin: Koin) {
|
||||
|
Loading…
Reference in New Issue
Block a user