update
This commit is contained in:
@@ -25,6 +25,7 @@ func init() {
|
|||||||
ReadYaml("conf/", &Config, "https://raw.githubusercontent.com/cdle/sillyGirl/main/conf/demo_config.yaml")
|
ReadYaml("conf/", &Config, "https://raw.githubusercontent.com/cdle/sillyGirl/main/conf/demo_config.yaml")
|
||||||
InitReplies()
|
InitReplies()
|
||||||
initToHandleMessage()
|
initToHandleMessage()
|
||||||
|
|
||||||
file, err := os.Open("/etc/sillyGirl/sets.conf")
|
file, err := os.Open("/etc/sillyGirl/sets.conf")
|
||||||
if err == nil {
|
if err == nil {
|
||||||
scanner := bufio.NewScanner(file)
|
scanner := bufio.NewScanner(file)
|
||||||
|
|||||||
@@ -20,6 +20,10 @@ type JsReply string
|
|||||||
var o = NewBucket("otto")
|
var o = NewBucket("otto")
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
{
|
||||||
|
os.MkdirAll("develop/replies", os.ModePerm)
|
||||||
|
|
||||||
|
}
|
||||||
go func() {
|
go func() {
|
||||||
time.Sleep(time.Second)
|
time.Sleep(time.Second)
|
||||||
init123()
|
init123()
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user