1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-02 06:39:41 +00:00

try to fix

This commit is contained in:
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 {
jvm()
js {
browser()
browser { dceTask { keep "${project.name}.$library_group" } }
nodejs()
}

View File

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

View File

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

View File

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

View File

@@ -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(

View File

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