mirror of
https://github.com/InsanusMokrassar/TelegramBotTutorial.git
synced 2024-12-22 06:07:11 +00:00
actualization
This commit is contained in:
parent
bb78065053
commit
1cc7441e54
@ -1,10 +1,10 @@
|
|||||||
[versions]
|
[versions]
|
||||||
|
|
||||||
kotlin = "1.7.22"
|
kotlin = "1.8.20"
|
||||||
plagubot = "3.3.0"
|
plagubot = "5.1.0"
|
||||||
kslog = "0.5.4"
|
kslog = "1.1.1"
|
||||||
plagubot-commands = "0.7.0"
|
plagubot-commands = "0.11.0"
|
||||||
tgbotapi-libraries = "0.7.0"
|
tgbotapi-libraries = "0.11.0"
|
||||||
|
|
||||||
[libraries]
|
[libraries]
|
||||||
|
|
||||||
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@ -1,5 +1,5 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
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
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
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.reply
|
||||||
import dev.inmo.tgbotapi.extensions.api.send.send
|
import dev.inmo.tgbotapi.extensions.api.send.send
|
||||||
import dev.inmo.tgbotapi.extensions.behaviour_builder.*
|
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.waitContentMessage
|
||||||
import dev.inmo.tgbotapi.extensions.behaviour_builder.expectations.waitMessageDataCallbackQuery
|
import dev.inmo.tgbotapi.extensions.behaviour_builder.expectations.waitMessageDataCallbackQuery
|
||||||
import dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onCommand
|
import dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onCommand
|
||||||
@ -127,7 +128,7 @@ class WelcomePlugin : Plugin {
|
|||||||
answer(query)
|
answer(query)
|
||||||
},
|
},
|
||||||
parallel {
|
parallel {
|
||||||
val message = waitContentMessage().filter {
|
val message = waitAnyContentMessage().filter {
|
||||||
it.sameChat(sentMessage)
|
it.sameChat(sentMessage)
|
||||||
}.first()
|
}.first()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user