mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-bot_template.git
synced 2025-09-01 22:39:17 +00:00
Compare commits
6 Commits
0.32.0
...
0.32.5-upd
Author | SHA1 | Date | |
---|---|---|---|
a82aad5985 | |||
424ab09c3d | |||
89e03ab1ed | |||
834ea36959 | |||
89164058af | |||
80b28bd7a9 |
@@ -4,5 +4,5 @@ org.gradle.parallel=true
|
|||||||
kotlin.js.generate.externals=true
|
kotlin.js.generate.externals=true
|
||||||
kotlin.incremental=true
|
kotlin.incremental=true
|
||||||
|
|
||||||
kotlin_version=1.4.21
|
kotlin_version=1.4.30
|
||||||
tgbotapi_version=0.32.0
|
tgbotapi_version=0.32.5
|
||||||
|
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-6.8-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.2-bin.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
@@ -23,7 +23,7 @@ suspend fun main(args: Array<String>) {
|
|||||||
val me = getMe()
|
val me = getMe()
|
||||||
|
|
||||||
// this method will create point to react on each /start command
|
// this method will create point to react on each /start command
|
||||||
onCommand("/start", requireOnlyCommandInMessage = true) {
|
onCommand("start", requireOnlyCommandInMessage = true) {
|
||||||
// simply reply :)
|
// simply reply :)
|
||||||
reply(it, "Hello, I am ${me.firstName}")
|
reply(it, "Hello, I am ${me.firstName}")
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user