diff --git a/handler/restart/restart.go b/handler/restart/restart.go index 7e6ac18..c793375 100644 --- a/handler/restart/restart.go +++ b/handler/restart/restart.go @@ -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")