forked from botorium/perlbot
No description
- Python 97.7%
- Nix 1.4%
- Shell 0.9%
| src | ||
| work | ||
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| install-bot.sh | ||
| install-systemd.sh | ||
| LICENSE.md | ||
| perlbot.service | ||
| pyproject.toml | ||
| README.md | ||
| run.sh | ||
| update-bot.sh | ||
Perlbot
This bot have nothing to do with perl at all.
From version v0.2.0 onwards this bot is not compatiple with previous versions and needs a fresh setup
install
pip install https://codeberg.org/c-base/perlbot/archive/main.tar.gz
or
pip install .
usage
create the bot working dir, cd into it
(optional) create configuration file config.toml
# admins have additional commands: join,leave etc pp
perl_admins = [ "@botadmin:example.com", "@botadmin2:example.com" ]
# special ping, admin only, optional
broadcast_ping = "botarmy ping"
# special status, admin only , optional
broadcast_status = "botarmy status"
create credentials file
smalsetup <matrixid>
start the bot
python -m perlbot
Matrix: #botorium:c-base.org