feat: 添加beatleader相关查询

This commit is contained in:
lixiangwuxian
2024-10-20 01:26:14 +08:00
parent 674a5b2579
commit 33d98731d2
10 changed files with 1151 additions and 4 deletions

View File

@@ -107,6 +107,9 @@ func getRecentScore(msg model.Message) (reply model.Reply) {
FromMsg: msg,
}
}
if count > 10 {
count = 10
}
}
scoreMsg := ""
for _, v := range scoresaber.ScoresManager.GetRecentScores(count, " WHERE country = 'CN' ") {
@@ -135,6 +138,9 @@ func getMyRecentScore(msg model.Message) (reply model.Reply) {
FromMsg: msg,
}
}
if count > 10 {
count = 10
}
}
var userName string
recordCount := 0