Documentation ¶
Index ¶
- type ScheduleCommand
- func (s *ScheduleCommand) Info() []command.Command
- func (s *ScheduleCommand) InstallSlashCommands(session *discordgo.Session) error
- func (s *ScheduleCommand) Register(registry command.Registry, server command.Server)
- func (s *ScheduleCommand) SaySchedule(sess *discordgo.Session, i *discordgo.InteractionCreate)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScheduleCommand ¶
type ScheduleCommand struct {
// contains filtered or unexported fields
}
ScheduleCommand contains the schedule command
func NewScheduleCommand ¶
func NewScheduleCommand(db db.Database) *ScheduleCommand
NewScheduleCommand gives a new ScheduleCommand
func (*ScheduleCommand) Info ¶
func (s *ScheduleCommand) Info() []command.Command
Info return the commands in this package
func (*ScheduleCommand) InstallSlashCommands ¶
func (s *ScheduleCommand) InstallSlashCommands(session *discordgo.Session) error
InstallSlashCommands registers the slash commands
func (*ScheduleCommand) Register ¶
func (s *ScheduleCommand) Register(registry command.Registry, server command.Server)
Register registers the handlers
func (*ScheduleCommand) SaySchedule ¶
func (s *ScheduleCommand) SaySchedule(sess *discordgo.Session, i *discordgo.InteractionCreate)
SaySchedule handles a schedule interaction
Click to show internal directories.
Click to hide internal directories.