This commit is contained in:
cdle
2021-10-28 22:17:10 +08:00
parent b4f5ef7f75
commit f9cc991088
3 changed files with 229 additions and 0 deletions
+1
View File
@@ -25,6 +25,7 @@ func init() {
ReadYaml("conf/", &Config, "https://raw.githubusercontent.com/cdle/sillyGirl/main/conf/demo_config.yaml")
InitReplies()
initToHandleMessage()
file, err := os.Open("/etc/sillyGirl/sets.conf")
if err == nil {
scanner := bufio.NewScanner(file)
+4
View File
@@ -20,6 +20,10 @@ type JsReply string
var o = NewBucket("otto")
func init() {
{
os.MkdirAll("develop/replies", os.ModePerm)
}
go func() {
time.Sleep(time.Second)
init123()
+224
View File
File diff suppressed because one or more lines are too long