This repository has been archived by the owner on Jan 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathconfig.example.js
111 lines (111 loc) · 1.99 KB
/
config.example.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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
module.exports = {
app: {
token: '',
ux: {
basicPermissions: [
'SEND_MESSAGES'
]
},
client: {
requestMethod: 'sequential',
messageCacheMaxSize: 400,
messageCacheLifetime: 0,
messageSweepInterval: 30,
fetchAllMembers: false,
disableEveryone: true,
restWsBridgeTimeout: 10000,
restTimeOffset: 550,
retryLimit: Infinity,
disabledEvents: [
'GUILD_SYNC',
'USER_NOTE_UPDATE',
'TYPING_START',
'USER_SETTINGS_UPDATE'
],
ws: {
large_threshold: 250,
compress: true
},
http: {
version: 7,
api: 'https://discordapp.com/api',
cdn: 'https://cdn.discordapp.com',
invite: 'https://discordapp.com/invite'
}
},
fork: {
automaticRespawn: true,
arguments: [],
quantity: 'auto',
waitSpawning: true,
spawningDelay: 5000,
killingDelay: 500
}
},
database: {
options: {
client: 'mysql2', // WARNING: No support for other DBMS engines.
connection: {
host: 'localhost',
user: '',
password: '',
database: ''
},
pool: {
min: 1,
max: 8
}
},
tables: {
user: 'user',
guild: 'guild'
}
},
permissions: [
{
name: 'common',
flag: 0x00,
required: {
identify: [],
roles: [],
permissions: []
}
},
{
name: 'staff',
flag: 0x01,
required: {
identify: [],
roles: [],
permissions: [
'MANAGE_GUILD'
]
}
},
{
name: 'dev',
flag: 0x11,
required: {
identify: [
''
],
roles: [],
permissions: []
}
}
],
defaults: {
settings: {
user: {
index: 0,
identify: 0,
language: 'ko'
},
guild: {
index: 0,
identify: 0,
prefix: 'se'
}
}
}
}