This commit is contained in:
shoopea 2020-02-29 17:23:27 +08:00
parent cceed5fe14
commit 2c707271ef

2
msg.go
View File

@ -102,7 +102,7 @@ func parseSubTypeMessageAlchStockAck(m *ChatWarsMessage, r *regexp.Regexp) (*Cha
re := regexp.MustCompile(`\n\/aa_([0-9]{2}) ([a-zA-Z ']+) x (?[0-9]+)`)
for _, l := range re.FindAllStringSubmatch(r.ReplaceAllString(m.Text, "${Stuff}"), -1) {
fmt.Printf("parseSubTypeMessageAlchStockAck : %+q\n", l)
log.Printf("parseSubTypeMessageAlchStockAck : %+q\n", l)
i := getObjItemID(l[1], ``)
q, _ := strconv.ParseInt(l[3], 10, 64)
if i != 0 {