Fix typo in datastore.js

This commit is contained in:
Christer Warén 2021-08-08 19:20:20 +03:00
parent 202674cb53
commit 6a11482110

View File

@ -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));