Skip to content

Commit

Permalink
历史记录
Browse files Browse the repository at this point in the history
  • Loading branch information
CuteReimu committed Sep 11, 2024
1 parent b00346d commit e1fff55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/gm/Getscore.kt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Getscore : Function<Map<String, String>, Any> {
if (playerInfo.score != score) s += "(长期不打会掉分,打一场即可全部恢复)"
val history = QQPusher.getHistory(name)
if (history.isNotEmpty())
s += "\\\n\\\n最近${history.size}场战绩\\\n" + history.joinToString(separator = "\\\n")
s += "\\n\\n最近${history.size}场战绩\\n" + history.joinToString(separator = "\\n")
"{\"result\": \"$s\"}"
}
} catch (e: NullPointerException) {
Expand Down

0 comments on commit e1fff55

Please sign in to comment.