Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LookCommand ¶
type LookCommand struct {
// contains filtered or unexported fields
}
LookCommand contains the /lookforplayers command
func NewLookCommand ¶
func NewLookCommand(dbConn db.Database) *LookCommand
NewLookCommand gives a new LookCommand
func (*LookCommand) Info ¶
func (l *LookCommand) Info() []command.Command
Info return the commands in this package
func (*LookCommand) InstallSlashCommands ¶
func (l *LookCommand) InstallSlashCommands(s *discordgo.Session) error
InstallSlashCommands registers the slash commands TODO: Make configurable for specific guilds
func (*LookCommand) Register ¶
func (l *LookCommand) Register(registry command.Registry, server command.Server)
Register registers the handlers
func (*LookCommand) SearchCommand ¶
func (l *LookCommand) SearchCommand(s *discordgo.Session, i *discordgo.InteractionCreate)
type MuteCommand ¶
type MuteCommand struct{}
adduser contains the bob!adduser and bob!remuser command
func (*MuteCommand) Info ¶
func (m *MuteCommand) Info() []command.Command
Info return the commands in this package
func (*MuteCommand) InstallSlashCommands ¶
func (m *MuteCommand) InstallSlashCommands(session *discordgo.Session) error
InstallSlashCommands registers the slash commands
type UserCommand ¶
type UserCommand struct{}
adduser contains the bob!adduser and bob!remuser command
func (*UserCommand) Info ¶
func (u *UserCommand) Info() []command.Command
Info return the commands in this package
func (*UserCommand) InstallSlashCommands ¶
func (u *UserCommand) InstallSlashCommands(session *discordgo.Session) error
InstallSlashCommands registers the slash commands
Click to show internal directories.
Click to hide internal directories.