pgbot/configs/pgbot.dist.yml

19 lines
497 B
YAML

# gibberish here, read telethon docs for further details
api_id: 00000000
api_hash: 000000000000000000000000000000ff
bot_token: 0000000000:ABCDEFGHijklmnoPQRSTUVWXYZ-v1234567
# refer psycopg.connect() docs for db_spec, also this:
# https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING
db_spec: |
dbname=pgbot
user=pgbot
host=127.0.0.1
port=5432
password=somepass
timezone: Europe/Moscow
# list of privileged users that can execute commands
admins:
- 00000000