Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandsModule ¶
func (CommandsModule) GetName ¶
func (module CommandsModule) GetName() string
func (*CommandsModule) RegisterCommand ¶
func (module *CommandsModule) RegisterCommand(command ICommand) error
type HelpPageEntry ¶
type ICommand ¶
type ICommand interface { Check(cmd string) bool Action(m *discordgo.MessageCreate, args []string, creator *messages.MessageCreator) error ShouldRemoveOriginal() bool GetHelpPageEntry() HelpPageEntry }
Click to show internal directories.
Click to hide internal directories.