No description
configs | ||
pgbotlib | ||
.gitignore | ||
Dockerfile | ||
LICENSE | ||
pgbot | ||
README.md | ||
requirements.txt |
pgbot
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