Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
S = gocron.NewScheduler(time.UTC)
)
Functions ¶
func MigrateReplies ¶
func MigrateReplies()
MigrateReplies moves the giveaway replies into the replies collection
func ScheduleTask ¶
func ScheduleTask(task interface{}, args ...interface{})
Schedule a job to be run on the given schedule. ...args are in the order of
`redoflow(second, day, etc.), momentum(integer), realtime("10:30", "15:00", etc.), crontime(* * * * *),`
func StartAGiveaway ¶
func StartAGiveaway()
StartAGiveaway closes any active giveaways and starts a new one
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.