From 6a1148211020d7797c71fefa89d01589b3530e41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Sun, 8 Aug 2021 19:20:20 +0300 Subject: [PATCH] Fix typo in datastore.js --- src/client/datastore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/datastore.js b/src/client/datastore.js index fb5ee65..dafd80a 100644 --- a/src/client/datastore.js +++ b/src/client/datastore.js @@ -16,7 +16,7 @@ module.exports = class { const dataFiles = fs.readdirSync(path.join(path.dirname(__dirname), '../datastore')).filter(f => f.endsWith('.json')); for (const file of dataFiles) { try { - const json = require(`../../../datastore/${file}`); + const json = require(`../../datastore/${file}`); this.map.set(json.guild.id, json); //console.log('[LOADED] ' + file + " (" + json.guild.id + ")"); //console.log(JSON.stringify(json, null, 4));