Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
OutOfOfficeRegex, _ = regexp.Compile("^(.+) is out of office$")
)
Functions ¶
This section is empty.
Types ¶
type Bot ¶
type Bot struct {
// contains filtered or unexported fields
}
func (*Bot) HandleScrumMessage ¶
func (b *Bot) HandleScrumMessage(event *slack.MessageEvent) bool
HandleMessage handle a received message for scrums and returns if the bot shall continue to process the message or stop continue = true stop = false
type BotContextHandler ¶
type BotContextHandler interface {
HandleMessage(event *slack.MessageEvent) bool
}
type BotContextHandlerFunc ¶
type BotContextHandlerFunc func(event *slack.MessageEvent) bool
func (BotContextHandlerFunc) HandleMessage ¶
func (f BotContextHandlerFunc) HandleMessage(event *slack.MessageEvent) bool
Click to show internal directories.
Click to hide internal directories.