We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c3d0ff commit 504884cCopy full SHA for 504884c
job.go
@@ -1,7 +1,7 @@
1
package mmbot
2
3
// JobFunc is job action function.
4
-type JobFunc func(*Robot) error
+type JobFunc func(*Robot)
5
6
// Job is a scheduled task.
7
type Job struct {
robot.go
@@ -56,6 +56,7 @@ func (r *Robot) runLoop() {
56
go r.startServer()
57
}
58
go r.startClient()
59
+ r.startScheduler()
60
61
receiver := r.Client.Receiver()
62
for {
0 commit comments