Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command interface {
Handle(args *model.CommandArgs) (*model.CommandResponse, error)
// contains filtered or unexported methods
}
func NewCommandHandler ¶
Register all your slash commands in the NewCommandHandler function.
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) Handle ¶
func (c *Handler) Handle(args *model.CommandArgs) (*model.CommandResponse, error)
ExecuteCommand hook calls this method to execute the commands that were registered in the NewCommandHandler function.
Click to show internal directories.
Click to hide internal directories.