bot.autoreply

Provides functions which allow the creation of rules to be evaluated against incoming messages (and their metadata) and potentially trigger the execution of expressions in response when those conditions are met.

autoreply

Description

Usage

<name> (<condition expression>) (<response expression>)

Examples

(autoreply "im-down" (match "qtiyd" (bot.messages/message)) (str "^"))