github.com/sleroq/maid


Install
go get github.com/sleroq/maid

Documentation

maid

Bot to help with room moderation

2023-03-19_19-20

Requirements

Usage

  1. Copy and modify env file
cp scripts/env.bash.example scripts/env.bash
  1. Start the bot
scripts/run.bash
  1. Invite to any room and give permission to send, redact messages and kick users

Running on server:

[Unit]
Description=Maid (Matrix Bot)
After=syslog.target
After=network.target

[Service]
RestartSec=2s
Type=simple
User=username
Group=username
WorkingDirectory=/path/to/repo/maid/
ExecStart=/path/to/repo/maid/scripts/run.bash
Restart=always

[Install]
WantedBy=multi-user.target