Skip to content

Commit

Permalink
Beta412 (#416)
Browse files Browse the repository at this point in the history
* beta399

* beta400

* beta401

* beta402

* beta403

* beta404

* beta405

* beta406

* beta407

* beta408

* beta409

* beta410

* beta411

* beta412
  • Loading branch information
Hoshinonyaruko authored May 28, 2024
1 parent 9203d79 commit 29282e3
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ func main() {
loggerAdapter := mylog.NewMyLogAdapter(logLevel, config.GetSaveLogs())
botgo.SetLogger(loggerAdapter)

// 创建webui数据库
webui.InitializeDB()
defer webui.CloseDB()

if conf.Settings.AppID == 12345 {
// 输出天蓝色文本
cyan := color.New(color.FgCyan)
Expand Down Expand Up @@ -183,12 +187,7 @@ func main() {
log.Printf("自定义ac地址模式...请从日志手动获取bot的真实id并设置,不然at会不正常")
}

// 创建webui数据库
webui.InitializeDB()
defer webui.CloseDB()

if !nologin {

//创建idmap服务器 数据库
idmap.InitializeDB()
//创建botstats数据库
Expand Down

0 comments on commit 29282e3

Please sign in to comment.