No description
| src/mopenchat-bot | Aller Anfang ist schwer. | |
| pyproject.toml | Aller Anfang ist schwer. | |
| README.md | Aller Anfang ist schwer. | |
mopenchat-bot
simple matrix adapter for open chat
this bot requires a dedicated matrix account.
currently e2ee setup works only if the bot is alone on the account, so the setup tool ask for logging out any other device.
quick instructions
create and activate venv
pip install .
(create bot's working dir and cd into it)
smalsetup <matrixid>
e2eesetup
create file oc_credentials.toml
user = "oc_userid"
token = "ocat_xxxx"
create file config.toml
oc_backend = "http://localhost:1984"
mocbot_admins = ["@admin:domain.org", "@user:server.com"]
allowed_users = ["domain.org", "@user:server.com", "@user2:example.net"]
botadmins are always allowed
dm = chat
room: mention the bot in a regular top message (eg. ask a question in a support room), it replies in a thread, conversation goes here.
start the bot:
python -m mopenchat-bot