feat: 添加beatleader相关查询
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user