diff --git a/build.gradle.kts b/build.gradle.kts index f792b1d..c20976e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -2,12 +2,12 @@ plugins { kotlin("jvm") version "1.8.10" kotlin("plugin.serialization") version "1.8.10" - id("net.mamoe.mirai-console") version "2.15.0-RC" + id("net.mamoe.mirai-console") version "2.15.0" id("me.him188.maven-central-publish") version "1.0.0-dev-3" } group = "xyz.cssxsh.mirai" -version = "1.4.0" +version = "1.4.1" mavenCentralPublish { useCentralS01() @@ -33,7 +33,7 @@ dependencies { implementation("org.apache.poi:poi-ooxml:5.2.3") testImplementation(kotlin("test")) // - implementation(platform("net.mamoe:mirai-bom:2.15.0-RC")) + implementation(platform("net.mamoe:mirai-bom:2.15.0")) compileOnly("net.mamoe:mirai-core") compileOnly("net.mamoe:mirai-core-utils") compileOnly("net.mamoe:mirai-console-compiler-common") diff --git a/src/main/kotlin/xyz/cssxsh/mirai/admin/MiraiAdminPlugin.kt b/src/main/kotlin/xyz/cssxsh/mirai/admin/MiraiAdminPlugin.kt index 4011c47..be1409f 100644 --- a/src/main/kotlin/xyz/cssxsh/mirai/admin/MiraiAdminPlugin.kt +++ b/src/main/kotlin/xyz/cssxsh/mirai/admin/MiraiAdminPlugin.kt @@ -20,7 +20,7 @@ internal object MiraiAdminPlugin : KotlinPlugin( JvmPluginDescription( id = "xyz.cssxsh.mirai.plugin.mirai-administrator", name = "mirai-administrator", - version = "1.4.0", + version = "1.4.1", ) { author("cssxsh") } diff --git a/src/main/kotlin/xyz/cssxsh/mirai/admin/MiraiAdministrator.kt b/src/main/kotlin/xyz/cssxsh/mirai/admin/MiraiAdministrator.kt index cd632f7..5bff7d3 100644 --- a/src/main/kotlin/xyz/cssxsh/mirai/admin/MiraiAdministrator.kt +++ b/src/main/kotlin/xyz/cssxsh/mirai/admin/MiraiAdministrator.kt @@ -300,7 +300,7 @@ public object MiraiAdministrator : SimpleListenerHost() { when (val millis = wait(contact = from)) { null -> break else -> { - logger.debug { "$${from.render()} timing message after ${millis}ms" } + logger.debug { "${from.render()} timing message after ${millis}ms" } delay(millis) } }