diff --git a/src/Client.ts b/src/Client.ts index 59bd6ff..1adade3 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -90,7 +90,7 @@ export default class Client extends Eris.Client { delete require.cache[require.resolve(`./events/${file}`)]; }); - await mongoose.connect(config.mongoURL); + await mongoose.connect(config.mongoURL, { useNewUrlParser: true, useUnifiedTopology: true }); await this.connect(); } }