This commit is contained in:
shoopea 2020-01-27 13:29:25 +08:00
parent 067c8eceae
commit abfed57a8a

8
job.go
View File

@ -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)
}
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)
logOnError(err, "jobCraftItem : setJobDone")