✏️ 避免重复调用

This commit is contained in:
fumiama
2021-09-10 14:16:33 +08:00
parent 70da534bfb
commit f0d7b38a73
2 changed files with 62 additions and 59 deletions

View File

@@ -42,8 +42,6 @@ import (
easy "github.com/t-tomalak/logrus-easy-formatter"
zero "github.com/wdvxdr1123/ZeroBot"
"github.com/wdvxdr1123/ZeroBot/driver"
"github.com/FloatTech/ZeroBot-Plugin/control"
)
var (
@@ -62,7 +60,6 @@ func init() {
LogFormat: "[zero][%time%][%lvl%]: %msg% \n",
})
log.SetLevel(log.DebugLevel)
control.Init()
}
func main() {