pgbot/README.md

8 lines
500 B
Markdown
Raw Normal View History

2023-10-30 23:38:30 +00:00
# pgbot
2024-10-25 13:00:22 +03:00
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.
2023-10-31 02:28:16 +02:00
2024-12-12 22:37:22 +02:00
`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.
2024-11-09 22:54:27 +02:00
Dependencies: python >=3.10 and modules in `requirements.txt`