forked from discordware/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
27 lines (25 loc) · 889 Bytes
/
index.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
const Sharder = require('./src/Sharder');
Object.assign(Sharder, {
Cluster: require('./src/Cluster'),
ClusterModules: {
Communication: require('./src/cluster/Communication')
},
Modules: {
Alerts: require('./src/modules/Alerts'),
Clustering: require('./src/modules/Clustering'),
Communication: require('./src/modules/Communication'),
Configuration: require('./src/modules/Configuration'),
Logger: require('./src/modules/Logger'),
Queue: require('./src/modules/Queue'),
Registry: require('./src/modules/Registry'),
Sharding: require('./src/modules/Sharding'),
Stats: require('./src/modules/Stats')
},
Transports: {
Console: require('./src/transports/Console')
},
Destinations: {
Discord: require('./src/destinations/Discord')
}
});
module.exports = Sharder;