actualization

This commit is contained in:
InsanusMokrassar 2023-04-27 12:11:39 +06:00
parent bb78065053
commit 1cc7441e54
3 changed files with 8 additions and 7 deletions

View File

@ -1,10 +1,10 @@
[versions]
kotlin = "1.7.22"
plagubot = "3.3.0"
kslog = "0.5.4"
plagubot-commands = "0.7.0"
tgbotapi-libraries = "0.7.0"
kotlin = "1.8.20"
plagubot = "5.1.0"
kslog = "1.1.1"
plagubot-commands = "0.11.0"
tgbotapi-libraries = "0.11.0"
[libraries]

View File

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

View File

@ -10,6 +10,7 @@ import dev.inmo.tgbotapi.extensions.api.edit.edit
import dev.inmo.tgbotapi.extensions.api.send.reply
import dev.inmo.tgbotapi.extensions.api.send.send
import dev.inmo.tgbotapi.extensions.behaviour_builder.*
import dev.inmo.tgbotapi.extensions.behaviour_builder.expectations.waitAnyContentMessage
import dev.inmo.tgbotapi.extensions.behaviour_builder.expectations.waitContentMessage
import dev.inmo.tgbotapi.extensions.behaviour_builder.expectations.waitMessageDataCallbackQuery
import dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onCommand
@ -127,7 +128,7 @@ class WelcomePlugin : Plugin {
answer(query)
},
parallel {
val message = waitContentMessage().filter {
val message = waitAnyContentMessage().filter {
it.sameChat(sentMessage)
}.first()