From d9c1c635e7d78664327838fc77dd0016214a3dec Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sun, 27 Oct 2019 20:09:31 -0400 Subject: [PATCH] connect to mongo --- src/Client.ts | 1 + 1 file changed, 1 insertion(+) 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(); } }