This commit is contained in:
Erik 2020-04-14 00:29:08 +03:00
parent 1929963dae
commit fffdaf5711

View File

@ -1,4 +1,4 @@
const { EventEmitter } = require('events'); const { EventEmitter } = require('events');
const ShardManager = require('./middleware/ShardManager.js'); const ShardManager = require('./middleware/ShardManager.js');
const StorageManager = require('./storage/StorageManager.js'); const StorageManager = require('./storage/StorageManager.js');
@ -17,9 +17,9 @@ class Manager extends EventEmitter {
this.logger = new Logger(this); this.logger = new Logger(this);
this._built = false; this._built = false;
} }
async build() { async build() {
await this.shardManager.spawn(); await this.shardManager.spawn();