This repository has been archived by the owner on Aug 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.js
95 lines (86 loc) · 2.42 KB
/
config.js
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
const config = {
main: {
general_chan_id: 'C03B400RU',
bot_test_chan_id: 'C1X3769UJ',
},
winston: {
enabled: true,
channel: '#bot-log',
username: 'Bosta',
level: 'info',
handleExceptions: true,
},
plugins: {
newuser: {
max_recent_users: 10,
},
userrequests: {
invitation_request_channel: 'G1H574PK7',
menadevs_api_uri: 'https://menadevs.com/api/v1/invitations',
},
system: {
recent_members_path: 'data/recent_members.txt',
recent_members_key: 'recent_users',
karma_log_path: 'data/karma_log.txt',
},
tellmeabout: {
path: 'data/storage.txt',
max_key_length: 128,
max_value_length: 512,
},
sentiment: {
recent: 10,
},
snippets: {
timeout: 4,
memory: 8,
crop: 512,
folder: 'eval',
languages: {
haskell: {
command: 'runghc',
image: 'mchakravarty/ghc-7.10.2:latest',
memory: 16,
timeout: 8,
},
javascript: {
command: 'node',
image: 'bosta/javascript:latest',
memory: 8,
timeout: 4,
},
perl: {
command: 'perl',
image: 'python:latest',
memory: 8,
timeout: 4,
},
php: {
command: 'php',
image: 'bosta/php:latest',
memory: 8,
timeout: 4,
},
python: {
command: 'python',
image: 'bosta/python:latest',
memory: 8,
timeout: 4,
},
ruby: {
command: 'ruby',
image: 'bosta/ruby:latest',
memory: 8,
timeout: 4,
},
scala: {
command: 'scala',
image: 'williamyeh/scala:latest',
memory: 64,
timeout: 10,
},
},
},
},
};
module.exports = config;