debug for pillage

This commit is contained in:
shoopea 2019-08-02 09:32:34 +08:00
parent 6767552050
commit e7923f1312

1
job.go
View File

@ -371,6 +371,7 @@ func jobPillage(j Job) {
// is the job outdated now ?
if time.Now().UTC().After(r.Date.Add(time.Minute*3 + time.Second*30)) {
log.Print("jobPillage :\n\tPillageTime : %s\n\tNowTime : %s\n", m.Date.Format(time.RFC3339), time.Now().UTC().Format(time.RFC3339))
s := TGCommand{
Type: commandSendMsg,
Text: fmt.Sprintf("Pillage interception expired"),