This commit is contained in:
shoopea 2019-10-12 17:30:39 +08:00
parent 154715b9b7
commit b81547876a

2
bot.go
View File

@ -99,7 +99,7 @@ func botQuery(q *tb.Query) {
func botText(m *tb.Message) { func botText(m *tb.Message) {
fmt.Println("botText :", m.Text) fmt.Println("botText :", m.Text)
PrintText(m) PrintText(m)
b, _ := json.Marshal(p) b, _ := json.Marshal(m)
log.Printf("botText : %s\n", string(b)) log.Printf("botText : %s\n", string(b))
/* /*