From d5132d587cb13671662d9e9e85c2e2294c2deb7f Mon Sep 17 00:00:00 2001 From: jie65535 Date: Sat, 1 Mar 2025 00:14:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0Mirai=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=E5=88=B02.16.0=20=E4=BC=98=E5=8C=96=E6=AD=A3=E5=88=99=E8=A1=A8?= =?UTF-8?q?=E8=BE=BE=E5=BC=8F=E5=8C=B9=E9=85=8D=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle.kts | 4 ++-- src/main/kotlin/JDice.kt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 5951f22..10669dc 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,11 +3,11 @@ plugins { kotlin("jvm") version kotlinVersion kotlin("plugin.serialization") version kotlinVersion - id("net.mamoe.mirai-console") version "2.15.0" + id("net.mamoe.mirai-console") version "2.16.0" } group = "top.jie65535" -version = "0.2.0" +version = "0.3.0" repositories { maven("https://maven.aliyun.com/repository/public") diff --git a/src/main/kotlin/JDice.kt b/src/main/kotlin/JDice.kt index fbfa28c..baf3108 100644 --- a/src/main/kotlin/JDice.kt +++ b/src/main/kotlin/JDice.kt @@ -13,12 +13,12 @@ object JDice : KotlinPlugin( JvmPluginDescription( id = "top.jie65535.dice", name = "J Dice", - version = "0.2.0", + version = "0.3.0", ) { author("jie65535") } ) { - private val regex = Regex("""\b(\d{0,3})[dD]([1-9]\d{0,2})\b""") + private val regex = Regex("""(?