update
This commit is contained in:
+2
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user