Documentation ¶
Index ¶
- type CmdMap
- type Map
- func (m Map) CanExecute(name string) bool
- func (m Map) CanRegisterCommand(name string) bool
- func (m Map) Execute(command string, ctx ctx.Ctx, s *discordgo.Session) error
- func (m Map) GetCommands() map[string]command.Command
- func (m Map) RegisterCommand(name string, command command.Command, override bool)
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 ¶ added in v0.1.1
func (Map) CanRegisterCommand ¶
Click to show internal directories.
Click to hide internal directories.