feat: 更新权限系统
This commit is contained in:
@@ -6,13 +6,14 @@ import (
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"git.lxtend.com/qqbot/constants"
|
||||
"git.lxtend.com/qqbot/handler"
|
||||
"git.lxtend.com/qqbot/model"
|
||||
"golang.org/x/exp/rand"
|
||||
)
|
||||
|
||||
func init() {
|
||||
handler.RegisterHandler("roll", roll)
|
||||
handler.RegisterHandler("roll", roll, constants.LEVEL_USER)
|
||||
handler.RegisterHelpInform("roll", "roll点")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user