diff --git a/build.gradle.kts b/build.gradle.kts index 5e81055..90133fe 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -36,7 +36,7 @@ dependencies { implementation("org.junit.jupiter:junit-jupiter:5.9.0") implementation("commons-validator:commons-validator:1.7") implementation("ru.morpher:ws3.client:1.0-SNAPSHOT") - implementation("com.fasterxml.jackson.core:jackson-databind:2.14.1") + implementation("com.fasterxml.jackson.core:jackson-databind:2.14.2") implementation("com.ibm.icu:icu4j:72.1") implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.4.0") implementation("io.github.classgraph:classgraph:4.8.151") diff --git a/src/main/kotlin/telegram/StateMachine.kt b/src/main/kotlin/telegram/StateMachine.kt index fa7843b..e6543c3 100644 --- a/src/main/kotlin/telegram/StateMachine.kt +++ b/src/main/kotlin/telegram/StateMachine.kt @@ -3,14 +3,10 @@ package telegram import com.ithersta.tgbotapi.commands.cancelCommand import com.ithersta.tgbotapi.commands.fallback import com.ithersta.tgbotapi.fsm.builders.rolelessStateMachine -import com.ithersta.tgbotapi.persistence.SqliteStateRepository -import dev.inmo.tgbotapi.extensions.api.send.sendTextMessage import dev.inmo.tgbotapi.types.UserId -import mu.KotlinLogging import telegram.entities.state.DialogState import telegram.entities.state.EmptyState import telegram.flows.* -import telegram.resources.strings.Strings val stateMachine = rolelessStateMachine( initialState = EmptyState,