mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 00:03:48 +00:00
try to fix
This commit is contained in:
parent
44a35bd26e
commit
bcee64c103
@ -32,7 +32,7 @@ repositories {
|
||||
kotlin {
|
||||
jvm()
|
||||
js {
|
||||
browser()
|
||||
browser { dceTask { keep "${project.name}.$library_group" } }
|
||||
nodejs()
|
||||
}
|
||||
|
||||
|
@ -32,7 +32,7 @@ repositories {
|
||||
kotlin {
|
||||
jvm()
|
||||
js {
|
||||
browser()
|
||||
browser { dceTask { keep "${project.name}.$library_group" } }
|
||||
nodejs()
|
||||
}
|
||||
|
||||
|
@ -32,7 +32,7 @@ repositories {
|
||||
kotlin {
|
||||
jvm()
|
||||
js {
|
||||
browser()
|
||||
browser { dceTask { keep "${project.name}.$library_group" } }
|
||||
nodejs()
|
||||
}
|
||||
|
||||
|
@ -32,7 +32,7 @@ repositories {
|
||||
kotlin {
|
||||
jvm()
|
||||
js {
|
||||
browser()
|
||||
browser { dceTask { keep "${project.name}.$library_group" } }
|
||||
nodejs()
|
||||
}
|
||||
|
||||
|
@ -4,7 +4,9 @@ import com.github.insanusmokrassar.TelegramBotAPI.utils.throwRangeError
|
||||
import kotlinx.serialization.SerialName
|
||||
import kotlinx.serialization.Serializable
|
||||
|
||||
val BotCommandNameRegex = Regex("^[a-z_0-9]{${botCommandLengthLimit.first},${botCommandLengthLimit.last}}$")
|
||||
val BotCommandNameRegex by lazy {
|
||||
Regex("^[a-z_0-9]{${botCommandLengthLimit.first},${botCommandLengthLimit.last}}$")
|
||||
}
|
||||
|
||||
@Serializable
|
||||
data class BotCommand(
|
||||
|
@ -27,7 +27,7 @@ repositories {
|
||||
kotlin {
|
||||
jvm()
|
||||
js {
|
||||
browser()
|
||||
browser { dceTask { keep "${project.name}.$library_group" } }
|
||||
nodejs()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user