sleroq / maid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:Go 97.9%Language:Shell 1.6%Language:Nix 0.5%