File tree 5 files changed +8
-8
lines changed
5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ plugins {
9
9
}
10
10
11
11
group = " com.hcyacg"
12
- version = " 1.6"
12
+ version = " 1.6.1 "
13
13
14
14
repositories {
15
15
// mavenLocal()
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ object GithubNotice : KotlinPlugin(
24
24
JvmPluginDescription (
25
25
id = "com.hcyacg.github-notice",
26
26
name = "github更新通知",
27
- version = "1.6",
27
+ version = "1.6.1 ",
28
28
) {
29
29
author("Nekoer ")
30
30
info("""github更新通知""")
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ class Issues {
78
78
79
79
bot.getGroup(e.toString().toLong())?.sendMessage(
80
80
CardUtil ().process(
81
- message = issueItem.body .toString(),
81
+ message = issueItem.title .toString(),
82
82
html = issueItem.htmlUrl.toString(),
83
83
avatar = issueItem.user!! .avatarUrl.toString(),
84
84
time = time.toString(),
@@ -93,7 +93,7 @@ class Issues {
93
93
for (bot in bots){
94
94
bot.getStranger(u.toString().toLong())?.sendMessage(
95
95
CardUtil ().process(
96
- message = issueItem.body .toString(),
96
+ message = issueItem.title .toString(),
97
97
html = issueItem.htmlUrl.toString(),
98
98
avatar = issueItem.user!! .avatarUrl.toString(),
99
99
time = time.toString(),
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ class Pulls {
77
77
for (bot in bots){
78
78
bot.getGroup(e.toString().toLong())?.sendMessage(
79
79
CardUtil ().process(
80
- message = pullItem.body .toString(),
80
+ message = pullItem.title .toString(),
81
81
html = pullItem.htmlUrl.toString(),
82
82
avatar = pullItem.user!! .avatarUrl.toString(),
83
83
time = time.toString(),
@@ -92,7 +92,7 @@ class Pulls {
92
92
for (bot in bots){
93
93
bot.getStranger(u.toString().toLong())?.sendMessage(
94
94
CardUtil ().process(
95
- message = pullItem.body .toString(),
95
+ message = pullItem.title .toString(),
96
96
html = pullItem.htmlUrl.toString(),
97
97
avatar = pullItem.user!! .avatarUrl.toString(),
98
98
time = time.toString(),
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ class Releases {
75
75
for (bot in bots){
76
76
bot.getGroup(e.toString().toLong())?.sendMessage(
77
77
CardUtil ().process(
78
- message = release.body .toString(),
78
+ message = release.name .toString(),
79
79
html = release.htmlUrl.toString(),
80
80
avatar = release.author!! .avatarUrl.toString(),
81
81
time = time.toString(),
@@ -90,7 +90,7 @@ class Releases {
90
90
for (bot in bots){
91
91
bot.getStranger(u.toString().toLong())?.sendMessage(
92
92
CardUtil ().process(
93
- message = release.body .toString(),
93
+ message = release.name .toString(),
94
94
html = release.htmlUrl.toString(),
95
95
avatar = release.author!! .avatarUrl.toString(),
96
96
time = time.toString(),
You can’t perform that action at this time.
0 commit comments