Moved database driver-specific code to their own files

This commit is contained in:
TheEssem 2020-12-18 18:50:25 -06:00
parent d47c7cacbb
commit 5fa5f21289
6 changed files with 249 additions and 251 deletions

View file

@ -15,7 +15,7 @@ module.exports = async () => {
// connect to lavalink
if (!soundPlayer.status && !soundPlayer.connected) await soundPlayer.connect();
await database.handleCounts();
await database.setup();
// generate docs
if (helpGenerator && first) await helpGenerator(process.env.OUTPUT);