mirror of
https://github.com/InsanusMokrassar/TelegramBotTutorial.git
synced 2024-11-05 07:43:49 +00:00
actualization
This commit is contained in:
parent
bb78065053
commit
1cc7441e54
@ -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]
|
||||
|
||||
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@ -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
|
||||
|
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user