refactor: 将 bl+ 命令的处理器从 RegisterHandler 更新为 RegisterFrontMatchHandler,以增强命令匹配功能
This commit is contained in:
parent
4007b2648e
commit
f5ad785c2e
@ -25,7 +25,7 @@ func init() {
|
||||
handler.RegisterHelpInform("解绑bl", "beatleader", "解绑bl 解绑您的beatleader账号")
|
||||
handler.RegisterHandler("最新bl", getMyRecentScore, constants.LEVEL_USER)
|
||||
handler.RegisterHelpInform("最新bl", "beatleader", "最新bl 查看您的最新游戏记录")
|
||||
handler.RegisterHandler("bl+", blPlus, constants.LEVEL_USER)
|
||||
handler.RegisterFrontMatchHandler("bl+", blPlus, constants.LEVEL_USER)
|
||||
handler.RegisterHelpInform("bl+", "beatleader", "bl+ 查看您需要打多少pp才能达到当前区服的第N名")
|
||||
handler.RegisterHandler("截bl", screenShotBL, constants.LEVEL_USER)
|
||||
handler.RegisterHelpInform("截bl", "beatleader", "截bl 截bl 截bl主页截图")
|
||||
|
Loading…
x
Reference in New Issue
Block a user