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