tasks

package
v0.0.0-...-8bb0e6c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WeeklyInfo

type WeeklyInfo struct {
	ChannelID string
	Enabled   bool
	Schedule  *cron.Cron
	Session   *discordgo.Session
}

WeeklyInfo sets up configuration for weekly info

func NewWeeklyInfo

func NewWeeklyInfo(channelID string, session *discordgo.Session) *WeeklyInfo

NewWeeklyInfo creates a new weekly info loop

func (WeeklyInfo) RegisterTrialsInfo

func (w WeeklyInfo) RegisterTrialsInfo()

func (*WeeklyInfo) RegisterWeeklyInfo

func (w *WeeklyInfo) RegisterWeeklyInfo()

RegisterWeeklyInfo registers weekly info command

func (*WeeklyInfo) RegisterXurInfo

func (w *WeeklyInfo) RegisterXurInfo()

RegisterXurInfo registers xur info command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL