This commit is contained in:
shoopea 2019-10-02 12:48:23 +08:00
parent 3ba8ece00d
commit c2ae7baa56

2
bot.go
View File

@ -731,7 +731,7 @@ func botGWithdraw(m *tb.Message) {
*/
r := regexp.MustCompile("^(( )*[a-z0-9]+ [0-9]+( )*)+$")
for _, l := range r.FindAllStringSubmatch(m.Payload, -1) {
fmt.Print("%v\n", l)
fmt.Printf("%v\n", l)
/*
i := getObjItemID(``, l[1])
q, _ := strconv.ParseInt(l[2], 10, 64)