Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
type Bot struct { Session *discordgo.Session Config config.Config Database *gorm.DB AdventOfCodeClient *adventofcode.Client Scheduler *gocron.Scheduler // contains filtered or unexported fields }
func (*Bot) GenerateLeaderboardMessage ¶
func (bot *Bot) GenerateLeaderboardMessage(guildId string) (*discordgo.InteractionResponseData, error)
type LeaderboardEntry ¶
type LeaderboardTemplateData ¶
type LeaderboardTemplateData struct { Entries []LeaderboardEntry Event string }
Click to show internal directories.
Click to hide internal directories.