Skip to content

Commit

Permalink
Merge pull request #8 from kkdai/fix_no_display
Browse files Browse the repository at this point in the history
Add back msg reply
  • Loading branch information
kkdai authored Dec 23, 2022
2 parents c0bc71f + ea1599b commit d848b2d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ func callbackHandler(w http.ResponseWriter, r *http.Request) {
for _, m := range q {
reply = reply + fmt.Sprintf("[%s]: %s . %s", m.UserID, m.MsgText, m.Time.Local().UTC().Format("2006-01-02 15:04:05"))
}
if _, err = bot.ReplyMessage(event.ReplyToken, linebot.NewTextMessage(reply)).Do(); err != nil {
log.Print(err)
}
}

// Handle only on Sticker message
Expand Down

0 comments on commit d848b2d

Please sign in to comment.