update README

This commit is contained in:
shoopea 2019-08-15 16:57:10 +08:00
parent 45b54fdb97
commit c7a631a252
2 changed files with 3 additions and 0 deletions

View File

@ -1,4 +1,5 @@
ChirpNestBot
- [ ] Add autobid option for auctions
- [ ] Check for not launching concurrent msg rescan jobs
- [ ] Make sure refresh message receives the message later (jobMsgRefresh)
- [ ] Adjust /time clock for auctions/... (delay between cw and real time ?)

View File

@ -456,6 +456,8 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) {
}
b, _ := json.Marshal(&p)
_, err = createJob(objSubTypeJobMsgRefresh, objJobPriority, m.TGUserID64, cwm.End.Add(5*time.Minute).UTC(), b)
/* hack for autobid - FIXME */
if cwm.Price == 0 && cwm.ItemID64 == getObjItemID(`k05`, `Hunter blade`) {
clientSendCWMsg(cfg.Bot.Admin, fmt.Sprintf("/bet_%d_1", cwm.LotID))
}