Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
Nekoer committed Apr 16, 2022
1 parent 729cb42 commit 3174c79
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
}

group = "com.hcyacg"
version = "1.6"
version = "1.6.1"

repositories {
// mavenLocal()
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/GithubNotice.kt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ object GithubNotice : KotlinPlugin(
JvmPluginDescription(
id = "com.hcyacg.github-notice",
name = "github更新通知",
version = "1.6",
version = "1.6.1",
) {
author("Nekoer")
info("""github更新通知""")
Expand Down
4 changes: 2 additions & 2 deletions src/main/kotlin/github/Issues.kt
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class Issues {

bot.getGroup(e.toString().toLong())?.sendMessage(
CardUtil().process(
message = issueItem.body.toString(),
message = issueItem.title.toString(),
html = issueItem.htmlUrl.toString(),
avatar = issueItem.user!!.avatarUrl.toString(),
time = time.toString(),
Expand All @@ -93,7 +93,7 @@ class Issues {
for (bot in bots){
bot.getStranger(u.toString().toLong())?.sendMessage(
CardUtil().process(
message = issueItem.body.toString(),
message = issueItem.title.toString(),
html = issueItem.htmlUrl.toString(),
avatar = issueItem.user!!.avatarUrl.toString(),
time = time.toString(),
Expand Down
4 changes: 2 additions & 2 deletions src/main/kotlin/github/Pulls.kt
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class Pulls {
for (bot in bots){
bot.getGroup(e.toString().toLong())?.sendMessage(
CardUtil().process(
message = pullItem.body.toString(),
message = pullItem.title.toString(),
html = pullItem.htmlUrl.toString(),
avatar = pullItem.user!!.avatarUrl.toString(),
time = time.toString(),
Expand All @@ -92,7 +92,7 @@ class Pulls {
for (bot in bots){
bot.getStranger(u.toString().toLong())?.sendMessage(
CardUtil().process(
message = pullItem.body.toString(),
message = pullItem.title.toString(),
html = pullItem.htmlUrl.toString(),
avatar = pullItem.user!!.avatarUrl.toString(),
time = time.toString(),
Expand Down
4 changes: 2 additions & 2 deletions src/main/kotlin/github/Releases.kt
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class Releases {
for (bot in bots){
bot.getGroup(e.toString().toLong())?.sendMessage(
CardUtil().process(
message = release.body.toString(),
message = release.name.toString(),
html = release.htmlUrl.toString(),
avatar = release.author!!.avatarUrl.toString(),
time = time.toString(),
Expand All @@ -90,7 +90,7 @@ class Releases {
for (bot in bots){
bot.getStranger(u.toString().toLong())?.sendMessage(
CardUtil().process(
message = release.body.toString(),
message = release.name.toString(),
html = release.htmlUrl.toString(),
avatar = release.author!!.avatarUrl.toString(),
time = time.toString(),
Expand Down

0 comments on commit 3174c79

Please sign in to comment.