Skip to content

Commit a96480f

Browse files
committed
build: 1.2.0
1 parent c018152 commit a96480f

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77
}
88

99
group = "io.github.gnuf0rce"
10-
version = "1.2.0-RC"
10+
version = "1.2.0"
1111

1212
mavenCentralPublish {
1313
useCentralS01()

src/main/kotlin/io/github/gnuf0rce/mirai/github/GitHubHelperPlugin.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public object GitHubHelperPlugin : KotlinPlugin(
2626
JvmPluginDescription(
2727
id = "io.github.gnuf0rce.github-helper",
2828
name = "github-helper",
29-
version = "1.2.0-RC",
29+
version = "1.2.0",
3030
) {
3131
author("cssxsh")
3232

src/main/kotlin/io/github/gnuf0rce/mirai/github/GitHubReplier.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ internal val ReplierPermission: Permission by lazy {
3737

3838
private fun MessageEvent.hasReplierPermission() = toCommandSender().hasPermission(ReplierPermission)
3939

40-
// TODO: REPLIER_FORMAT
4140
private val REPLIER_FORMAT get() = GitHubConfig.replier
4241

4342
/**
@@ -52,7 +51,7 @@ internal val OwnerReplier: MessageReplier = replier@{ result ->
5251
val (owner) = result.destructured
5352
val entry = github.user(owner).load().takeIf { it.type == "User" }
5453
?: github.organization(owner).load()
55-
entry.toMessage(subject, REPLIER_FORMAT, "", OffsetDateTime.MIN)
54+
entry.toMessage(subject, REPLIER_FORMAT, "replier", OffsetDateTime.MIN)
5655
} catch (cause: Throwable) {
5756
logger.warning({ "构建Repo(${result.value})信息失败" }, cause)
5857
cause.message

0 commit comments

Comments
 (0)