test
This commit is contained in:
parent
ac827d451f
commit
1b51a5c492
4
bot.go
4
bot.go
@ -939,8 +939,8 @@ func botGWithdraw(m *tb.Message) {
|
|||||||
}
|
}
|
||||||
items := []ChatWarsItems{}
|
items := []ChatWarsItems{}
|
||||||
for _, l := range rx.FindAllStringSubmatch(m.Payload, -1) {
|
for _, l := range rx.FindAllStringSubmatch(m.Payload, -1) {
|
||||||
i := l[1]
|
i := l[0]
|
||||||
q, _ := strconv.ParseInt(l[2], 10, 64)
|
q, _ := strconv.ParseInt(l[1], 10, 64)
|
||||||
item := ChatWarsItems{
|
item := ChatWarsItems{
|
||||||
Item: i,
|
Item: i,
|
||||||
Quantity: q,
|
Quantity: q,
|
||||||
|
Loading…
Reference in New Issue
Block a user