-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
24 lines (17 loc) · 1.14 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
API_TOKEN = "465633546:AAGQNVuoqn5gouyOieqCj1yQbo2riAyebSM"
WEBHOOK_HOST = '104.131.96.14'
WEBHOOK_PORT = 8443 # 443, 80, 88 or 8443 (port need to be 'open')
WEBHOOK_LISTEN = '0.0.0.0' # In some VPS you may need to put here the IP addr
WEBHOOK_SSL_CERT = '/home/gorec/Shefflera/db_and_certs/webhook_cert.pem' # Path to the ssl certificate
WEBHOOK_SSL_PRIV = '/home/gorec/Shefflera/db_and_certs/webhook_pkey.pem' # Path to the ssl private key
WEBHOOK_URL_BASE = "https://%s:%s" % (WEBHOOK_HOST, WEBHOOK_PORT)
WEBHOOK_URL_PATH = "/%s/" % (API_TOKEN)
DB = "/home/gorec/Shefflera/db_and_certs/Shefflera.db"
CONTACTS_MAPPING = {
'VK': 'Мы в VK: https://vk.com/shefflera_organic',
'Instagram': 'Мы в Instagram: https://instagram.com/shefflera_',
'Телефон': 'Наш телефон: 8 999 120 02 90',
'Адрес': 'ул. Новая 51, ТЦ «НОВАЯ 51», цокольный этаж'
}
MAIN_MENU = ('Наши бренды', 'Органическая косметика', 'Красота изнутри', 'Контакты')
PRODUCT_MENU = ('Описание', 'Состав', 'Применение', 'Изготовитель')