Link to samples in README.md

This commit is contained in:
Tulir Asokan 2019-06-23 13:13:03 +03:00
parent 4d5a3a681c
commit f2ac1a9c8d
1 changed files with 7 additions and 0 deletions

View File

@ -1,6 +1,13 @@
# reactbot
A simple [maubot](https://github.com/maubot/maubot) that responds to messages that match predefined rules.
## Samples
* The [base config](base-config.yaml) contains a cookie reaction for TWIM submissions
in [#thisweekinmatrix:matrix.org](https://matrix.to/#/#thisweekinmatrix:matrix.org)
and an image response for "alot".
* [samples/jesari.yaml](samples/jesari.yaml) contains a replacement for [jesaribot](https://github.com/maubot/jesaribot)
* [samples/stallman.yaml](samples/stallman.yaml) contains a Stallman interject bot.
## Config format
### Templates
Templates contain the actual event type and content to be sent.