trigger /g_report with /report
This commit is contained in:
parent
ebd3baef1f
commit
0c469fa6c3
1
cron.go
1
cron.go
@ -59,6 +59,7 @@ func cronSendWarReport() {
|
|||||||
err := createJobCallback(cacheObjSubType[`job_msg_fwd`], c.TGUserID64, cacheObjSubType[`msg_report_ack`], b, 1*time.Minute)
|
err := createJobCallback(cacheObjSubType[`job_msg_fwd`], c.TGUserID64, cacheObjSubType[`msg_report_ack`], b, 1*time.Minute)
|
||||||
logOnError(err, "cronSendWarReport : createJobCallback")
|
logOnError(err, "cronSendWarReport : createJobCallback")
|
||||||
clientSendCWMsgDelay(c.TGUserID64, `/report`, 0)
|
clientSendCWMsgDelay(c.TGUserID64, `/report`, 0)
|
||||||
|
clientSendCWMsgDelay(c.TGUserID64, `/g_report`, 4)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
muxClients.RUnlock()
|
muxClients.RUnlock()
|
||||||
|
Loading…
Reference in New Issue
Block a user