This repository was archived by the owner on Feb 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.default.json
127 lines (127 loc) · 3.94 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
{
"connections": [
{
"name": "esper",
"type": "irc",
"connection": {
"server": "irc.esper.net",
"port": 6667,
"ssl": false,
"ignore_cert": true,
"password": "",
"timeout": 300
},
"ping_settings": {
"interval": 60,
"warn": 120,
"timeout": 300
},
"nick": "MyCloudBot",
"user": "cloudbot",
"avoid_notices": false,
"channels": [
"#cloudbot",
"#cloudbot2"
],
"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"
},
"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",
"plugin_loading": {
"use_whitelist": false,
"blacklist": [
"update"
],
"whitelist": []
},
"reloading": {
"config_reloading": true,
"plugin_reloading": false
},
"repo_link": "https://github.com/snoonetIRC/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
}
}