This is a Chatbot that connects to a Matrix channel and collects questions that are asked into an Etherpad. The question are marked via a special prefix string (default: q:
).
Run following command in the root directory:
cpanm --installdeps .
Install Matterbridge via your distributions package manager.
Run bin/start_bot.pl
to use the bot. You can specify a topic to which the questions are collected and a configuration file via the CLI arguments.
Here is an example:
bin/start_bot.pl --conf myconfig.yml mytopic
In the cfg
directory is an example configuration file example-bot.yml
with all possible options.
Thanks to @Corion for providing a simple API for sending and receiving messages from Matterbridge. Link to his bot https://github.com/Corion/Bot-Matterbridge.