-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.example.yml
30 lines (30 loc) · 1.03 KB
/
config.example.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
postgres:
host: localhost
database: cantonres
user: kevin
password: foobar
joininfo_table: CREATE TABLE IF NOT EXISTS joininfo (id SERIAL PRIMARY KEY,
ingress_id VARCHAR(35) NOT NULL,
telegram_id BIGINT NOT NULL,
telegram_username VARCHAR(35) NOT NULL,
area VARCHAR(25) NOT NULL,
other VARCHAR(50),
created_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP)
admininfo_table:
CREATE TABLE IF NOT EXISTS admininfo (id SERIAL PRIMARY KEY,
telegram_id BIGINT NOT NULL,
telegram_username VARCHAR(35) NOT NULL,
area VARCHAR(10) NOT NULL,
created_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP)
bot:
token: 265836060:AAFUAYbxHfYgVbrOx8R3bOJMxPPBM-2IO_M
admin:
- {"telegram_id": "250578776", "telegram_username": "SiriusSee", "area": "T"}
- {"telegram_id": "82814392", "telegram_username": "ArielAxionL", "area": "B, T"}
redis:
addr: localhost
redispasswd: foobar
google:
client_id:
client_secret:
map_key: