Module yobot::listener [] [src]

Contains the MessageListener trait implementations.

Structs

Message

Traits

MessageListener

Implementing a MessageListener enables responding to Messages. There are currently very few requirements to creating a handler. The handle function receives a Message and a RtmClient. The listener is responsible for testing whether it's interested in replying by defining a regular expression on re Optionally call cli.send_message to send a response.