update
This commit is contained in:
+19
-18
@@ -14,6 +14,7 @@ import (
|
||||
"github.com/Mrs4s/go-cqhttp/global"
|
||||
"github.com/Mrs4s/go-cqhttp/global/config"
|
||||
"github.com/cdle/sillyGirl/core"
|
||||
"gopkg.in/yaml.v3"
|
||||
|
||||
"github.com/Mrs4s/MiraiGo/binary"
|
||||
"github.com/Mrs4s/MiraiGo/client"
|
||||
@@ -50,24 +51,24 @@ func start() {
|
||||
conf.Message.ReportSelfMessage = true
|
||||
conf.Account.ReLogin.MaxTimes = 30
|
||||
// conf.Output.Debug = true
|
||||
// conf.Database = map[string]yaml.Node{
|
||||
// "leveldb": {
|
||||
// Kind: 4,
|
||||
// Tag: "!!map",
|
||||
// Content: []*yaml.Node{
|
||||
// {
|
||||
// Kind: 8,
|
||||
// Tag: "!!str",
|
||||
// Value: "enable",
|
||||
// },
|
||||
// {
|
||||
// Kind: 8,
|
||||
// Tag: "!!bool",
|
||||
// Value: "true",
|
||||
// },
|
||||
// },
|
||||
// },
|
||||
// }
|
||||
conf.Database = map[string]yaml.Node{
|
||||
"leveldb": {
|
||||
Kind: 4,
|
||||
Tag: "!!map",
|
||||
Content: []*yaml.Node{
|
||||
{
|
||||
Kind: 8,
|
||||
Tag: "!!str",
|
||||
Value: "enable",
|
||||
},
|
||||
{
|
||||
Kind: 8,
|
||||
Tag: "!!bool",
|
||||
Value: "true",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
if conf.Output.Debug {
|
||||
log.SetReportCaller(true)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user