This commit is contained in:
cdle
2021-09-22 07:36:34 +08:00
parent cf60d3f550
commit 2845867c88
+1 -1
View File
@@ -234,7 +234,7 @@ func init() {
if err := Req(CRONS, PUT, "/disable", []byte(fmt.Sprintf(`["%s"]`, dup.ID))); err != nil {
s.Reply(fmt.Sprintf("隐藏 %v %v %v", dup.Name, dup.Command, err))
} else {
s.Reply(fmt.Sprintf("已隐藏重复任务 %v %v", dup.Name, dup.Command))
s.Reply(fmt.Sprintf("已隐藏重复任务 %v %v", dup.Name, dup.Command), core.N)
}
} else {
tasks[crons[i].Name] = crons[i]