update readme and dist config

This commit is contained in:
Von Random 2024-12-12 22:37:22 +02:00
parent 914d7034d0
commit 8ab44e1fdb
2 changed files with 2 additions and 14 deletions

View file

@ -2,4 +2,6 @@
Use `pgbot.yml` along with `tokens.yml` to set it up. Default directory for configs is `/etc/pgbot`. It needs a list of regex with tokens and a postgresql database to match them. This doc is probably going to be abandoned right away, but at least I have added this line I dunno.
`API_ID`, `API_HASH`, `BOT_TOKEN` and `DB_SPEC` env vars have to be provided for the bot to work. See Telethon and psycopg docs for what these are.
Dependencies: python >=3.10 and modules in `requirements.txt`