This commit is contained in:
cdle
2021-09-18 10:01:23 +08:00
parent 65f236c4e7
commit 4a26eb8bcc
+4
View File
@@ -38,6 +38,10 @@ var bot *coolq.CQBot
var qq = core.NewBucket("qq")
func init() {
go start()
}
func start() {
conf = &config.Config{}
conf.Account.Uin = int64(qq.GetInt("uin", 0))
conf.Account.Password = qq.Get("password")