diff --git a/src/index.js b/src/index.js index e866ada..8e80e1b 100644 --- a/src/index.js +++ b/src/index.js @@ -20,8 +20,6 @@ const bot = new Eris(config.token, { const commands = new Eris.Collection(); -const database = new sqlite3.Database(resolve(__dirname, "..", "database.db")); - function registerCommand(cmdObj) { if (cmdObj instanceof Command) { commands.set(cmdObj.name, cmdObj); @@ -43,7 +41,6 @@ global.hf = { registerCommand, events, timer, - database, }; for (const file of fs.readdirSync(resolve(__dirname, "modules"))) {