test
This commit is contained in:
parent
067c8eceae
commit
abfed57a8a
8
job.go
8
job.go
@ -1880,7 +1880,13 @@ func jobCraftItem(j Job) {
|
|||||||
out = fmt.Sprintf("%s<code> [%s] %s : %d</code>\n", out, obj.Code, obj.Names[0], v)
|
out = fmt.Sprintf("%s<code> [%s] %s : %d</code>\n", out, obj.Code, obj.Names[0], v)
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Printf("jobCraftItem[%s] : Output :\n%s\n", item.Code, out)
|
c := TGCommand{
|
||||||
|
Type: commandReplyMsg,
|
||||||
|
Text: out,
|
||||||
|
FromMsgID64: p.FromMsgID64,
|
||||||
|
FromChatID64: p.FromChatID64,
|
||||||
|
ParseMode: cmdParseModeHTML,
|
||||||
|
}
|
||||||
|
|
||||||
err = setJobDone(j.ID64)
|
err = setJobDone(j.ID64)
|
||||||
logOnError(err, "jobCraftItem : setJobDone")
|
logOnError(err, "jobCraftItem : setJobDone")
|
||||||
|
Loading…
Reference in New Issue
Block a user