fix: 将重启bot的权限级别从管理员更新为受信任用户
This commit is contained in:
parent
b2c6d679e2
commit
131dcf553a
@ -26,7 +26,7 @@ var hasVaildBuild = true
|
||||
var stuffMutex sync.Mutex
|
||||
|
||||
func init() {
|
||||
handler.RegisterHandler("/重启bot", restart, constants.LEVEL_ADMIN)
|
||||
handler.RegisterHandler("/重启bot", restart, constants.LEVEL_TRUSTED)
|
||||
handler.RegisterHelpInform("/重启bot", "热更新", "重启bot")
|
||||
handler.RegisterHandler("/构建bot", build, constants.LEVEL_ADMIN)
|
||||
handler.RegisterHelpInform("/构建bot", "热更新", "构建bot")
|
||||
|
Loading…
x
Reference in New Issue
Block a user