This commit is contained in:
cdle
2021-09-26 16:34:28 +08:00
parent 174cbaa7fd
commit 06a594dcfc
2 changed files with 37 additions and 1 deletions
+1 -1
View File
@@ -19,6 +19,7 @@ func init() {
}
}
initStore()
ReadYaml(ExecPath+"/conf/", &Config, "https://raw.githubusercontent.com/cdle/sillyGirl/main/conf/demo_config.yaml")
InitReplies()
initToHandleMessage()
file, err := os.Open("/etc/sillyGirl/sets.conf")
@@ -36,5 +37,4 @@ func init() {
}
initSys()
Duration = time.Duration(sillyGirl.GetInt("duration", 5)) * time.Second
}