This commit is contained in:
Jay Chen
2019-06-25 20:56:52 +08:00
parent d6f4d8d0b1
commit 27274019da
3 changed files with 5 additions and 0 deletions
+2
View File
@@ -6,6 +6,7 @@ import (
"encoding/base64"
"encoding/json"
"io/ioutil"
"log"
"git.trj.tw/golang/mtfosbot/model"
"git.trj.tw/golang/mtfosbot/module/context"
@@ -100,6 +101,7 @@ func GetLineMessage(c *context.Context) {
if len(events.Events) > 0 {
for _, v := range events.Events {
log.Println("get line message :: ", v)
go linemsg.MessageEvent(botid, v)
}
}