fix: 修正为获取玩家B30分数的功能,并生成相应的帮助信息

This commit is contained in:
lixiangwuxian 2025-05-14 00:54:55 +08:00
parent 784c0eea63
commit b24066d50b

View File

@ -32,8 +32,8 @@ func init() {
handler.RegisterFrontMatchHandler("ss+", ssPlusN, constants.LEVEL_USER)
handler.RegisterHelpInform("ss-n", "scoresaber", "查看落后您N名的玩家需要打多少pp才会超过您")
handler.RegisterFrontMatchHandler("ss-", ssPlusN, constants.LEVEL_USER)
handler.RegisterHandler("bs50", getBS50, constants.LEVEL_USER)
handler.RegisterHelpInform("bs50", "scoresaber", "查看您的B50分数")
handler.RegisterHandler("bs30", getBS50, constants.LEVEL_USER)
handler.RegisterHelpInform("bs30", "scoresaber", "查看您的scoresaber B30分数")
}
func getBS50(msg model.Message) (reply *model.Reply) {