1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-26 03:58:44 +00:00

try to fix

This commit is contained in:
InsanusMokrassar 2020-08-18 20:44:31 +06:00
parent 44a35bd26e
commit bcee64c103
6 changed files with 8 additions and 6 deletions

View File

@ -32,7 +32,7 @@ repositories {
kotlin { kotlin {
jvm() jvm()
js { js {
browser() browser { dceTask { keep "${project.name}.$library_group" } }
nodejs() nodejs()
} }

View File

@ -32,7 +32,7 @@ repositories {
kotlin { kotlin {
jvm() jvm()
js { js {
browser() browser { dceTask { keep "${project.name}.$library_group" } }
nodejs() nodejs()
} }

View File

@ -32,7 +32,7 @@ repositories {
kotlin { kotlin {
jvm() jvm()
js { js {
browser() browser { dceTask { keep "${project.name}.$library_group" } }
nodejs() nodejs()
} }

View File

@ -32,7 +32,7 @@ repositories {
kotlin { kotlin {
jvm() jvm()
js { js {
browser() browser { dceTask { keep "${project.name}.$library_group" } }
nodejs() nodejs()
} }

View File

@ -4,7 +4,9 @@ import com.github.insanusmokrassar.TelegramBotAPI.utils.throwRangeError
import kotlinx.serialization.SerialName import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable 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 @Serializable
data class BotCommand( data class BotCommand(

View File

@ -27,7 +27,7 @@ repositories {
kotlin { kotlin {
jvm() jvm()
js { js {
browser() browser { dceTask { keep "${project.name}.$library_group" } }
nodejs() nodejs()
} }