mirror of
https://github.com/InsanusMokrassar/TelegramBotApiLibraries.git
synced 2024-12-22 00:27:17 +00:00
commit
1457cfc748
@ -4,6 +4,7 @@ import dev.inmo.micro_utils.repos.exposed.keyvalue.ExposedKeyValueRepo
|
||||
import dev.inmo.micro_utils.repos.exposed.onetomany.ExposedKeyValuesRepo
|
||||
import dev.inmo.micro_utils.repos.mappers.withMapper
|
||||
import dev.inmo.plagubot.Plugin
|
||||
import dev.inmo.plagubot.database
|
||||
import dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext
|
||||
import dev.inmo.tgbotapi.libraries.cache.admins.micro_utils.DefaultAdminsCacheAPIRepoImpl
|
||||
import dev.inmo.tgbotapi.libraries.cache.admins.micro_utils.DynamicAdminsCacheSettingsAPI
|
||||
@ -44,7 +45,7 @@ class AdminsPlugin : Plugin {
|
||||
return flow.filterNotNull().first()
|
||||
}
|
||||
|
||||
override fun Module.setupDI(database: Database, params: JsonObject) {
|
||||
override fun Module.setupDI(config: JsonObject) {
|
||||
single { this@AdminsPlugin }
|
||||
val scopeQualifier = named("admins plugin scope")
|
||||
single(scopeQualifier) { CoroutineScope(Dispatchers.IO + SupervisorJob()) }
|
||||
|
@ -14,7 +14,7 @@ github_release_plugin_version=2.5.2
|
||||
tgbotapi_version=18.2.0
|
||||
micro_utils_version=0.22.2
|
||||
exposed_version=0.54.0
|
||||
plagubot_version=9.3.0
|
||||
plagubot_version=10.0.0
|
||||
|
||||
# Dokka
|
||||
|
||||
@ -23,4 +23,4 @@ dokka_version=1.9.20
|
||||
# Project data
|
||||
|
||||
group=dev.inmo
|
||||
version=0.24.0
|
||||
version=0.25.0
|
||||
|
Loading…
Reference in New Issue
Block a user