Skip to content
This repository has been archived by the owner on Dec 12, 2022. It is now read-only.

Latest commit

 

History

History
21 lines (17 loc) · 958 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 958 Bytes

Question Bot for Online GPW 2021

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:).

Installation

Run following command in the root directory:

cpanm --installdeps .

Install Matterbridge via your distributions package manager.

Usage

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.

Acknowledgments

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.