-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.py
More file actions
35 lines (30 loc) · 857 Bytes
/
settings.py
File metadata and controls
35 lines (30 loc) · 857 Bytes
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
31
32
33
34
35
# -*- encoding:utf8 -*-
import os
import re
DOCUMENTS = [
{
'Keywords': [
'いらっしゃい',
'いつもの',
'ぱちん',
'パチン',
'パッチン',
'おーい',
'設定要求'
],
'DocumentID': '16ArfIOBjMB4moqgOoEYJtKWfb5-xB1NkWQXHVBWf6h0'
},
{
'Keywords': 'チャンネル一覧',
'DocumentID': '1i8yhKieTHRJb8mhOU5i9y-VQ0BJqLBeSSprxkaNkZXA'
},
{
'Keywords': '地域チャンネル',
'DocumentID': '1fb2ls79RPflv4AIQbNFZCDkrkEHvuH4ZYosVPjgnYQQ'
}
]
QRCODE_DOCUMENT = '1HQFDEJ8NYSXCH5EbL_5I0-81Kh8-vY7AiNbPFulsUx4'
BOTNAME = 'botnyan'
RE_FLAGS = re.IGNORECASE
# Following settings are retrieved from environment variable
USE_CACHE = bool(os.environ.get('BOTNYAN_USE_CACHE', False))