test
This commit is contained in:
parent
9b4c646b5d
commit
075c7d801f
2
bot.go
2
bot.go
@ -866,6 +866,8 @@ func botBrewItem(m *ChatWarsMessage, r *regexp.Regexp) {
|
||||
p.ObjItemID64, err = getCraftItemID(r.ReplaceAllString(m.Text, "${Code}"))
|
||||
logOnError(err, "botBrewItem : getCraftItemID")
|
||||
|
||||
fmt.Printf("Code[%s] : %d\n", r.ReplaceAllString(m.Text, "${Code}"), p.ObjItemID64)
|
||||
|
||||
b, _ := json.Marshal(p)
|
||||
t := time.Now().UTC().Add(1 * time.Second)
|
||||
_, err = createJob(cacheObjSubType[`job_brew_item`], objJobPriority, m.TGSenderUserID64, 0, t, b)
|
||||
|
Loading…
Reference in New Issue
Block a user