diff --git a/bot.go b/bot.go index 2b61e27..86c4237 100644 --- a/bot.go +++ b/bot.go @@ -939,7 +939,7 @@ func botGWithdraw(m *tb.Message) { } items := []ChatWarsItems{} for _, l := range rx.FindAllStringSubmatch(m.Payload, -1) { - log.Printf("botGWithdraw : %s\n", l[0]) + log.Printf("botGWithdraw : %s / %s / %s\n", l[0], l[1], l[2]) i := r.ReplaceAllString(l[0], "${Item}") q, _ := strconv.ParseInt(r.ReplaceAllString(l[0], "${Quantity}"), 10, 64) item := ChatWarsItems{