test
This commit is contained in:
parent
6848fef023
commit
d568ab7078
5
msg.go
5
msg.go
@ -35,10 +35,7 @@ func parseSubTypeMessageGStockAnyAck(m *ChatWarsMessage, r *regexp.Regexp) (*Cha
|
||||
items := []ChatWarsItems{}
|
||||
re := regexp.MustCompile(`\n([0-9a-z]+) (.*) x ([0-9]+)`)
|
||||
for _, l := range re.FindAllStringSubmatch(r.ReplaceAllString(m.Text, "${Stock}"), -1) {
|
||||
i := getObjItemID(l[1])
|
||||
if i == 0 {
|
||||
getObjItemID(l[2])
|
||||
}
|
||||
i := getObjItemID(l[1], l[2])
|
||||
q, _ := strconv.ParseInt(l[3], 10, 64)
|
||||
if i != 0 {
|
||||
item := ChatWarsItems{
|
||||
|
Loading…
Reference in New Issue
Block a user