-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.py.example
More file actions
34 lines (34 loc) · 775 Bytes
/
config.py.example
File metadata and controls
34 lines (34 loc) · 775 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
config = {
'irc': {
'server': 'chat.freenode.net',
'port': 6697,
'ssl': True,
'channel': '#bot-test',
'blacklist': [
'another_bot'
]
},
'Telegram': {
'http_proxy': 'http://127.0.0.1:8008/',
'token': '123456:abcdefgABCDEFG',
'chat_id': '-1234567',
'blacklist': [
'123456789'
],
'irc': {
'nick': 'telegram_bot',
'password': 'password_telegram',
},
},
'QQ': {
'group_id': 653148038,
'base_uri': 'ws://127.0.0.1:6700',
'irc': {
'nick': 'tencent_qq_bot',
'password': 'password_qq',
},
'blacklist': [
'123456789'
],
},
}