This commit is contained in:
shoopea 2019-05-26 21:06:47 +08:00
parent 06b697067c
commit 01df375e0a

2
bot.go
View File

@ -292,7 +292,7 @@ func botTimer(m *tb.Message) {
ToChatID64: userID64ChtWrsBot,
}
b, _ := json.Marshal(c)
err := createJob(objSubTypeJobMsgClient, objJobPriority, int64(m.Sender.ID), time.Now(), b)
err := createJob(objSubTypeJobMsgClient, objJobPriority, int64(m.Sender.ID), time.Now().Add(d), b)
}
}