fix: 将重启bot的权限级别从管理员更新为受信任用户

This commit is contained in:
lixiangwuxian 2025-07-18 19:30:22 +08:00
parent b2c6d679e2
commit 131dcf553a

View File

@ -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")