modules

package
v0.0.0-...-83df30e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package modules is a package which provides the all of the bot functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Antisocial

func Antisocial(_ context.Context, intent snowman.Intent) (snowman.Msg, error)

func Hear

func Hear(re, id string, fun snowman.ProcessorFunc)

func NewMsg

func NewMsg(replyTo snowman.Msg, body string, blocks ...slack.Block) snowman.Msg

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL