update
This commit is contained in:
@@ -38,6 +38,10 @@ var bot *coolq.CQBot
|
|||||||
var qq = core.NewBucket("qq")
|
var qq = core.NewBucket("qq")
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
go start()
|
||||||
|
}
|
||||||
|
|
||||||
|
func start() {
|
||||||
conf = &config.Config{}
|
conf = &config.Config{}
|
||||||
conf.Account.Uin = int64(qq.GetInt("uin", 0))
|
conf.Account.Uin = int64(qq.GetInt("uin", 0))
|
||||||
conf.Account.Password = qq.Get("password")
|
conf.Account.Password = qq.Get("password")
|
||||||
|
|||||||
Reference in New Issue
Block a user