connect to mongo
parent
a633aeda9b
commit
d9c1c635e7
|
@ -78,6 +78,7 @@ export default class Client extends Eris.Client {
|
||||||
delete require.cache[require.resolve(`./events/${file}`)];
|
delete require.cache[require.resolve(`./events/${file}`)];
|
||||||
});
|
});
|
||||||
|
|
||||||
|
await mongoose.connect(config.mongoURL);
|
||||||
this.connect();
|
this.connect();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue