Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CalendarCommands ¶
type CalendarCommands struct {
// contains filtered or unexported fields
}
CalendarCommands contains the /calendar command
func NewCommands ¶
func NewCommands(db *db.Connection) *CalendarCommands
NewCommands gives a new CalendarCommands
func (*CalendarCommands) InstallSlashCommands ¶
func (c *CalendarCommands) InstallSlashCommands(session *discordgo.Session) error
InstallSlashCommands registers the slash commands
func (*CalendarCommands) Register ¶
func (c *CalendarCommands) Register(registry command.Registry)
Register registers the handlers
type CalendarEvent ¶
func ParseSchedule ¶
func ParseSchedule(icalURL string) ([]CalendarEvent, error)
Click to show internal directories.
Click to hide internal directories.