refactor: 移除查bl图命令相关的注册逻辑,并在 LastDiffToImage 函数中处理头像为 nil 的情况以避免潜在错误
This commit is contained in:
@@ -20,8 +20,6 @@ import (
|
||||
func init() {
|
||||
handler.RegisterHandler("查bl", getMyBLPic, constants.LEVEL_USER)
|
||||
handler.RegisterHelpInform("查bl", "beatleader", "查bl 查看您的最新分数")
|
||||
// handler.RegisterHandler("查bl图", getMyBLPic, constants.LEVEL_USER)
|
||||
// handler.RegisterHelpInform("查bl图", "beatleader", "查bl图 查看您的最新分数截图")
|
||||
handler.RegisterHandler("绑定bl", bindBL, constants.LEVEL_USER)
|
||||
handler.RegisterHelpInform("绑定bl", "beatleader", "绑定bl 绑定您的beatleader账号")
|
||||
handler.RegisterHandler("解绑bl", unbindBL, constants.LEVEL_USER)
|
||||
|
||||
Reference in New Issue
Block a user