This commit is contained in:
cdle
2021-09-17 06:02:32 +08:00
parent c8523808fd
commit f41323d979
2 changed files with 73 additions and 1 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ func AddCommand(prefix string, cmds []Function) {
functions = append(functions, cmds[j])
if cmds[j].Cron != "" {
c.AddFunc(cmds[j].Cron, func() {
cmds[j].Handle(nil)
cmds[j].Handle(&im.Faker{})
})
}
}