-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.default.json
146 lines (146 loc) · 4.7 KB
/
config.default.json
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"connections": [
{
"name": "esper",
"type": "irc",
"auto_rejoin": false,
"invite_join": true,
"join_throttle": 0.4,
"require_registered_channels": false,
"connection": {
"server": "irc.esper.net",
"port": 6667,
"ssl": false,
"ignore_cert": true,
"password": "",
"timeout": 300,
"client_cert": "cloudbot.pem",
"bind_addr": "",
"bind_port": 0
},
"ping_settings": {
"interval": 60,
"warn": 120,
"timeout": 300
},
"user_agent": "CloudBot/3.0 - CloudBot Refresh <https://github.com/TotallyNotRobots/CloudBot/>",
"reply_ping": true,
"nick": "MyCloudBot",
"user": "cloudbot",
"realname": "CloudBot - https://git.io/CloudBot",
"avoid_notices": false,
"channels": [
"#cloudbot",
"#cloudbot2"
],
"mode": null,
"oper_user": null,
"oper_pw": null,
"log_channel": "#MyAdminChannel",
"disabled_commands": [],
"acls": {},
"sasl": {
"enabled": false,
"mechanism": "PLAIN",
"user": "",
"pass": ""
},
"nickserv": {
"enabled": false,
"nickserv_password": "",
"nickserv_user": "",
"nickserv_name": "nickserv",
"nickserv_command": "IDENTIFY"
},
"strip_newlines": true,
"max_line_length": 510,
"encoding": "utf-8",
"encoding_errors": "replace",
"strip_cmd_chars": "!.@;$",
"ratelimit": {
"max_tokens": 17.5,
"restore_rate": 2.5,
"message_cost": 5,
"strict": true
},
"permissions": {
"admins": {
"perms": [
"addfactoid",
"delfactoid",
"ignore",
"botcontrol",
"plpaste",
"permissions_users",
"op"
],
"users": [
"examplea!user@example.com",
"exampleb!user@example.com"
]
},
"moderators": {
"perms": [
"addfactoid",
"delfactoid",
"ignore"
],
"users": [
"examplec!user@example.com"
]
}
},
"plugins": {
"sherlock": {
"regex": {
"nick": "^\\*\\*\\*\\s(?:REMOTE)?NICK:\\sUser\\s(?P<oldnick>.+?)\\schanged\\stheir\\snickname\\sto\\s(?P<newnick>.+?)$",
"connect": "^\\*\\*\\*\\s(?:REMOTE)?CONNECT:\\s.+:\\s(?P<nick>[^!]+)!(?P<ident>[^@]+)@(?P<host>[^\\s]+)\\s\\((?P<addr>[^\\)]+)\\)\\s\\[(?P<realname>.*)\\]$",
"quit": "^\\*\\*\\*\\s(?:REMOTE)?QUIT:\\s.+:\\s(?P<nick>[^!]+)!(?P<ident>[^@]+)@(?P<host>[^\\s]+)\\s\\((?P<addr>[^\\)]+)\\)\\s\\[(?P<reason>.*)\\]$"
},
"channels": {
"normal": [
"#optalk"
],
"admin": [
"##sherlock",
"##mycroft",
"#staff"
]
}
}
},
"command_prefix": "."
}
],
"plugins": {
"duckhunt": {
"minimum_messages": 10,
"minimum_users": 5
}
},
"api_keys": {},
"database": "sqlite:///cloudbot.db",
"location_bias_cc": null,
"plugin_loading": {
"use_whitelist": false,
"blacklist": [
"update"
],
"whitelist": []
},
"reloading": {
"config_reloading": true,
"plugin_reloading": false
},
"repo_link": "https://github.com/TotallyNotRobots/CloudBot/",
"logging": {
"console_debug": false,
"file_debug": false,
"show_plugin_loading": true,
"show_motd": true,
"show_server_info": true,
"raw_file_log": false,
"file_log": true,
"console_log_info": true
}
}