From 861ee37da35fb14eccee8c5db06f2f08de6e21a1 Mon Sep 17 00:00:00 2001 From: lixiangwuxian Date: Sat, 8 Mar 2025 18:10:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E6=9C=80=E8=BF=91?= =?UTF-8?q?=E6=88=90=E7=BB=A9=E6=B6=88=E6=81=AF=E7=9A=84=E6=8D=A2=E8=A1=8C?= =?UTF-8?q?=E7=AC=A6=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- handler/beatleader/beatleader.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/handler/beatleader/beatleader.go b/handler/beatleader/beatleader.go index fc803e6..c6d0e05 100644 --- a/handler/beatleader/beatleader.go +++ b/handler/beatleader/beatleader.go @@ -168,12 +168,12 @@ func getMyRecentScore(msg model.Message) (reply model.Reply) { File: util.GetResizedIamgePathByOrgPath(util.GenTempFilePath(record.SongHash + ".jpeg")), }, } - scoreMsg += imageMsg.ToCQString() + record.ToString() + "\n\n" + scoreMsg += imageMsg.ToCQString() + record.ToString() + "\n" userName = record.Name recordCount++ } if len(scoreMsg) > 0 { - scoreMsg = scoreMsg[:len(scoreMsg)-len("\n\n")] //去掉最后一个换行符 + scoreMsg = scoreMsg[:len(scoreMsg)-len("\n")] //去掉最后一个换行符 } else { return model.Reply{ ReplyMsg: "无最近游戏记录",