Documentation
¶
Overview ¶
Package modules is a package which provides the all of the bot functionality.
Index ¶
- func Antisocial(_ context.Context, intent snowman.Intent) (snowman.Msg, error)
- func Hear(re, id string, fun snowman.ProcessorFunc)
- func NewMsg(replyTo snowman.Msg, body string, blocks ...slack.Block) snowman.Msg
- func Register(c *gobot.Classifier, pp *gobot.Processor) error
- func Reply(re, id string, fun snowman.ProcessorFunc)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Hear ¶
func Hear(re, id string, fun snowman.ProcessorFunc)
func NewMsg ¶
NewMsg takes a message to reply to and creates a new message with the correct room already set to reply.
func Register ¶
func Register(c *gobot.Classifier, pp *gobot.Processor) error
Register injects all of the functionality defined within modules.
func Reply ¶
func Reply(re, id string, fun snowman.ProcessorFunc)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.