connect to mongo

merge-requests/1/merge
Matthew 2019-10-27 20:09:31 -04:00
parent a633aeda9b
commit d9c1c635e7
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
1 changed files with 1 additions and 0 deletions

View File

@ -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();
}
}