Documentation ¶
Index ¶
- type Map
- func (m *Map) CanExecute(name string) bool
- func (m *Map) CanRegisterCommand(name string) bool
- func (m *Map) CanRegisterGroup(name string) bool
- func (m *Map) DoesGroupExist(name string) bool
- func (m *Map) Execute(command string, c ctx.Ctx, s *discordgo.Session) error
- func (m *Map) GetAllCommands() map[string]command.Command
- func (m *Map) GetCommands() map[string]command.Command
- func (m *Map) GetGroup(name string) commandGroup.Group
- func (m *Map) GetGroups() map[string]commandGroup.Group
- func (m *Map) RegisterCommand(name string, command command.Command, override bool)
- func (m *Map) RegisterCommandGroup(name string, group commandGroup.Group)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Map ¶
type Map struct {
// contains filtered or unexported fields
}
func (*Map) CanExecute ¶
func (*Map) CanRegisterCommand ¶
func (*Map) CanRegisterGroup ¶
func (*Map) DoesGroupExist ¶
func (*Map) RegisterCommand ¶
func (*Map) RegisterCommandGroup ¶
func (m *Map) RegisterCommandGroup(name string, group commandGroup.Group)
Click to show internal directories.
Click to hide internal directories.