From 571295b3304e6fed51bb926b7c11ce70a1d69c09 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 5 Jan 2020 17:45:34 +0800 Subject: [PATCH] test --- bot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.go b/bot.go index 1b90246..2b61e27 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 : %v\n", l) + log.Printf("botGWithdraw : %s\n", l[0]) i := r.ReplaceAllString(l[0], "${Item}") q, _ := strconv.ParseInt(r.ReplaceAllString(l[0], "${Quantity}"), 10, 64) item := ChatWarsItems{