From ed8a7768bf0dcfb42caa3746d9c6f329c5400f31 Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Fri, 23 Jul 2021 18:26:25 -0600 Subject: [PATCH] guess database is blocking rip --- src/index.js | 3 --- 1 file changed, 3 deletions(-) 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"))) {