Skip to content

Commit 3174c79

Browse files
committed
fix format
1 parent 729cb42 commit 3174c79

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ plugins {
99
}
1010

1111
group = "com.hcyacg"
12-
version = "1.6"
12+
version = "1.6.1"
1313

1414
repositories {
1515
// mavenLocal()

src/main/kotlin/GithubNotice.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ object GithubNotice : KotlinPlugin(
2424
JvmPluginDescription(
2525
id = "com.hcyacg.github-notice",
2626
name = "github更新通知",
27-
version = "1.6",
27+
version = "1.6.1",
2828
) {
2929
author("Nekoer")
3030
info("""github更新通知""")

src/main/kotlin/github/Issues.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class Issues {
7878

7979
bot.getGroup(e.toString().toLong())?.sendMessage(
8080
CardUtil().process(
81-
message = issueItem.body.toString(),
81+
message = issueItem.title.toString(),
8282
html = issueItem.htmlUrl.toString(),
8383
avatar = issueItem.user!!.avatarUrl.toString(),
8484
time = time.toString(),
@@ -93,7 +93,7 @@ class Issues {
9393
for (bot in bots){
9494
bot.getStranger(u.toString().toLong())?.sendMessage(
9595
CardUtil().process(
96-
message = issueItem.body.toString(),
96+
message = issueItem.title.toString(),
9797
html = issueItem.htmlUrl.toString(),
9898
avatar = issueItem.user!!.avatarUrl.toString(),
9999
time = time.toString(),

src/main/kotlin/github/Pulls.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class Pulls {
7777
for (bot in bots){
7878
bot.getGroup(e.toString().toLong())?.sendMessage(
7979
CardUtil().process(
80-
message = pullItem.body.toString(),
80+
message = pullItem.title.toString(),
8181
html = pullItem.htmlUrl.toString(),
8282
avatar = pullItem.user!!.avatarUrl.toString(),
8383
time = time.toString(),
@@ -92,7 +92,7 @@ class Pulls {
9292
for (bot in bots){
9393
bot.getStranger(u.toString().toLong())?.sendMessage(
9494
CardUtil().process(
95-
message = pullItem.body.toString(),
95+
message = pullItem.title.toString(),
9696
html = pullItem.htmlUrl.toString(),
9797
avatar = pullItem.user!!.avatarUrl.toString(),
9898
time = time.toString(),

src/main/kotlin/github/Releases.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class Releases {
7575
for (bot in bots){
7676
bot.getGroup(e.toString().toLong())?.sendMessage(
7777
CardUtil().process(
78-
message = release.body.toString(),
78+
message = release.name.toString(),
7979
html = release.htmlUrl.toString(),
8080
avatar = release.author!!.avatarUrl.toString(),
8181
time = time.toString(),
@@ -90,7 +90,7 @@ class Releases {
9090
for (bot in bots){
9191
bot.getStranger(u.toString().toLong())?.sendMessage(
9292
CardUtil().process(
93-
message = release.body.toString(),
93+
message = release.name.toString(),
9494
html = release.htmlUrl.toString(),
9595
avatar = release.author!!.avatarUrl.toString(),
9696
time = time.toString(),

0 commit comments

Comments
 (0)