feat: 更新权限系统
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
package help
|
||||
|
||||
import (
|
||||
"git.lxtend.com/qqbot/constants"
|
||||
"git.lxtend.com/qqbot/handler"
|
||||
"git.lxtend.com/qqbot/model"
|
||||
)
|
||||
|
||||
func init() {
|
||||
handler.RegisterHandler("!help", help)
|
||||
handler.RegisterHandler("!help", help, constants.LEVEL_BANNED)
|
||||
}
|
||||
|
||||
func help(msg model.Message) (reply model.Reply) {
|
||||
|
||||
Reference in New Issue
Block a user