From d77e08631cf9aaa612323f0098911c9e7f2bda1b Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Sun, 28 May 2023 20:57:43 +0600 Subject: [PATCH] make migration --- .../tgbotapi/libraries/cache/admins/AdminsCacheSettingsAPI.kt | 2 +- .../tgbotapi/libraries/cache/admins/DefaultAdminsCacheAPI.kt | 2 +- .../cache/admins/micro_utils/DefaultAdminsCacheAPI.kt | 2 +- .../libraries/cache/media/common/MediaFileActualityChecker.kt | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cache/admins/common/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/admins/AdminsCacheSettingsAPI.kt b/cache/admins/common/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/admins/AdminsCacheSettingsAPI.kt index 9303ed4..b054e7f 100644 --- a/cache/admins/common/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/admins/AdminsCacheSettingsAPI.kt +++ b/cache/admins/common/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/admins/AdminsCacheSettingsAPI.kt @@ -1,6 +1,6 @@ package dev.inmo.tgbotapi.libraries.cache.admins -import com.soywiz.klock.minutes +import korlibs.time.minutes import dev.inmo.tgbotapi.types.IdChatIdentifier import dev.inmo.tgbotapi.types.Seconds import kotlinx.coroutines.flow.SharedFlow diff --git a/cache/admins/common/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/admins/DefaultAdminsCacheAPI.kt b/cache/admins/common/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/admins/DefaultAdminsCacheAPI.kt index b018dac..04b162c 100644 --- a/cache/admins/common/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/admins/DefaultAdminsCacheAPI.kt +++ b/cache/admins/common/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/admins/DefaultAdminsCacheAPI.kt @@ -1,6 +1,6 @@ package dev.inmo.tgbotapi.libraries.cache.admins -import com.soywiz.klock.DateTime +import korlibs.time.DateTime import dev.inmo.tgbotapi.bot.TelegramBot import dev.inmo.tgbotapi.extensions.api.bot.getMe import dev.inmo.tgbotapi.extensions.api.chat.members.getChatMember diff --git a/cache/admins/micro_utils/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/admins/micro_utils/DefaultAdminsCacheAPI.kt b/cache/admins/micro_utils/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/admins/micro_utils/DefaultAdminsCacheAPI.kt index 7e8a650..b7d2dfb 100644 --- a/cache/admins/micro_utils/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/admins/micro_utils/DefaultAdminsCacheAPI.kt +++ b/cache/admins/micro_utils/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/admins/micro_utils/DefaultAdminsCacheAPI.kt @@ -1,6 +1,6 @@ package dev.inmo.tgbotapi.libraries.cache.admins.micro_utils -import com.soywiz.klock.DateTime +import korlibs.time.DateTime import dev.inmo.micro_utils.coroutines.* import dev.inmo.micro_utils.repos.* import dev.inmo.tgbotapi.libraries.cache.admins.DefaultAdminsCacheAPIRepo diff --git a/cache/content/common/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/media/common/MediaFileActualityChecker.kt b/cache/content/common/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/media/common/MediaFileActualityChecker.kt index b67f203..07e80c5 100644 --- a/cache/content/common/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/media/common/MediaFileActualityChecker.kt +++ b/cache/content/common/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/media/common/MediaFileActualityChecker.kt @@ -1,7 +1,7 @@ package dev.inmo.tgbotapi.libraries.cache.media.common -import com.soywiz.klock.DateTime -import com.soywiz.klock.milliseconds +import korlibs.time.DateTime +import korlibs.time.milliseconds import dev.inmo.tgbotapi.bot.TelegramBot import dev.inmo.tgbotapi.requests.DeleteMessage import dev.inmo.tgbotapi.requests.abstracts.FileId