configs and defaults
This commit is contained in:
parent
f7d9afbd43
commit
abe38388b6
7 changed files with 17 additions and 3 deletions
21
configs/pgbot.dist.yml
Normal file
21
configs/pgbot.dist.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
# 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
|
||||
|
||||
# list of regex tokens and regex
|
||||
response_tokens: tokens.dist.yml
|
||||
# scheduled task list
|
||||
schedule: sched.dist.yml
|
||||
|
||||
admins:
|
||||
- 00000000
|
Loading…
Add table
Add a link
Reference in a new issue