fix: 修正为获取玩家B30分数的功能,并生成相应的帮助信息
This commit is contained in:
parent
784c0eea63
commit
b24066d50b
@ -32,8 +32,8 @@ func init() {
|
|||||||
handler.RegisterFrontMatchHandler("ss+", ssPlusN, constants.LEVEL_USER)
|
handler.RegisterFrontMatchHandler("ss+", ssPlusN, constants.LEVEL_USER)
|
||||||
handler.RegisterHelpInform("ss-n", "scoresaber", "查看落后您N名的玩家需要打多少pp才会超过您")
|
handler.RegisterHelpInform("ss-n", "scoresaber", "查看落后您N名的玩家需要打多少pp才会超过您")
|
||||||
handler.RegisterFrontMatchHandler("ss-", ssPlusN, constants.LEVEL_USER)
|
handler.RegisterFrontMatchHandler("ss-", ssPlusN, constants.LEVEL_USER)
|
||||||
handler.RegisterHandler("bs50", getBS50, constants.LEVEL_USER)
|
handler.RegisterHandler("bs30", getBS50, constants.LEVEL_USER)
|
||||||
handler.RegisterHelpInform("bs50", "scoresaber", "查看您的B50分数")
|
handler.RegisterHelpInform("bs30", "scoresaber", "查看您的scoresaber B30分数")
|
||||||
}
|
}
|
||||||
|
|
||||||
func getBS50(msg model.Message) (reply *model.Reply) {
|
func getBS50(msg model.Message) (reply *model.Reply) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user