jobs

package
v0.0.0-...-2cb72f2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LastNagged = "lastnagged"
)

Variables

This section is empty.

Functions

func CreateShowsEmbed

func CreateShowsEmbed(session *discordgo.Session, database *db.Database, config *cfg.Config,
	channelID string) (string, string, bool, error)

func StartAutoplay

func StartAutoplay(session, userSession *discordgo.Session, config *cfg.Config, db *db.Database, ignoreUsers, isSlotUp bool)

Checks if the studio voice channel is empty and plays some music if it is.

func SwapJob

func SwapJob(database *db.Database, session *discordgo.Session, config *cfg.Config) (error, bool)

Kicks out the current show hosts and moves the new key show host in, returns true if there is another show next.

func UpdateShowsEmbed

func UpdateShowsEmbed(session *discordgo.Session, database *db.Database, config *cfg.Config)

Types

This section is empty.

Jump to

Keyboard shortcuts

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