Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bot ¶
type Bot struct { Debug bool Testing bool Version string // contains filtered or unexported fields }
Bot represents a single bot instance.
func (*Bot) OnNewMessage ¶
func (b *Bot) OnNewMessage(event *slack.MessageEvent) error
OnNewMessage handles the appropriate behavior for when new interesting messages happen in any channel the bot is listening in.
func (*Bot) OnTeamJoined ¶
func (b *Bot) OnTeamJoined(event *slack.TeamJoinEvent) error
OnTeamJoined handles the appropriate behavior for when new team members join our slack.
Click to show internal directories.
Click to hide internal directories.