trigger /g_report with /report

This commit is contained in:
shoopea 2020-04-07 10:43:14 +08:00
parent ebd3baef1f
commit 0c469fa6c3

View File

@ -59,6 +59,7 @@ func cronSendWarReport() {
err := createJobCallback(cacheObjSubType[`job_msg_fwd`], c.TGUserID64, cacheObjSubType[`msg_report_ack`], b, 1*time.Minute)
logOnError(err, "cronSendWarReport : createJobCallback")
clientSendCWMsgDelay(c.TGUserID64, `/report`, 0)
clientSendCWMsgDelay(c.TGUserID64, `/g_report`, 4)
}
}
muxClients.RUnlock()