diff --git a/src/class/Client.ts b/src/class/Client.ts index 2970a55..15c9516 100644 --- a/src/class/Client.ts +++ b/src/class/Client.ts @@ -77,8 +77,7 @@ export default class Client extends eris.Client { } public async loadDatabase() { - mongoose.connect(this.config.mongoDB, { - minPoolSize: 50, + await mongoose.connect(this.config.mongoDB, { }); const statMessages = await this.db.mongo.Stat.findOne({ name: 'messages' });