diff --git a/src/Client.ts b/src/Client.ts index bfd8fe2..8be5a2f 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -78,6 +78,7 @@ export default class Client extends Eris.Client { delete require.cache[require.resolve(`./events/${file}`)]; }); + await mongoose.connect(config.mongoURL); this.connect(); } }