Skip to content

Service Chat bots

cintiadr edited this page Aug 19, 2018 · 30 revisions

License

No license.

Telegram Bot

The Telegram bot runs on Digital Ocean (ndu). It replicates the messages in IRC to Telegram.

The steps taken to create and configure this bot are in /root/README. From these instructions:

# cd /opt
# git clone https://github.com/FruitieX/teleirc
# cd teleirc
# docker build -t openmrs/teleirc extras
# docker run --name=teleirc-data \
    -v /var/teleirc:/home/teleirc/.teleirc \
    openmrs/teleirc echo 'data teleirc'
# docker run --rm --volumes-from=teleirc-data openmrs/teleirc teleirc --genconfig
# docker run --name=teleirc -p 9090:9090 \
    -d --restart=always --volumes-from=teleirc-data openmrs/teleirc

To restart if it stopped:

$ ssh ndu.openmrs.org
$ sudo su root -
# docker start teleirc

Supybot IRC Bot

@OpenMRSBot

The IRC bot runs on OSUOSL infrastructure. We have limited sudoers access, and we can edit and restart this bot. https://wiki.openmrs.org/x/vAMjAw

This bot does a lot of things, including parsing some RSS into IRC.

To edit its configuration:

sudo vi /data/openmrs/supybot/OpenMRSBot.conf
sudo systemctl reload limnoria
sudo systemctl restart limnoria

Note that this machine is mostly maintained by Chef.

Scrum Bot

Managed by darius

Pascal has access to the box as well

https://github.com/djazayeri/openmrs-contrib-scrumbot

Clone this wiki locally