This commit is contained in:
cdle
2021-09-17 07:16:11 +08:00
parent 57611764ae
commit 52bd8576e9
+2 -1
View File
@@ -3,13 +3,14 @@ package core
import "os"
func init() {
initStore()
killp()
for _, arg := range os.Args {
if arg == "-d" {
initStore()
Daemon()
}
}
initStore()
ReadYaml(ExecPath+"/conf/", &Config, "https://raw.githubusercontent.com/cdle/sillyGirl/main/conf/demo_config.yaml")
InitReplies()
initToHandleMessage()