fix
This commit is contained in:
parent
087542a64e
commit
9b0402d210
2
bot.go
2
bot.go
@ -863,7 +863,7 @@ func botBrewItem(m *ChatWarsMessage, r *regexp.Regexp) {
|
||||
Status: 0,
|
||||
}
|
||||
|
||||
p.ObjItemID64 = getObjItemID(r.ReplaceAllString(m.Text, "${Code}"))
|
||||
p.ObjItemID64 = getObjItemID(r.ReplaceAllString(m.Text, "${Code}"), "")
|
||||
|
||||
fmt.Printf("Code[%s] : %d\n", r.ReplaceAllString(m.Text, "${Code}"), p.ObjItemID64)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user