mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-23 02:33:18 +00:00
Fix typo in datastore.js
This commit is contained in:
parent
202674cb53
commit
6a11482110
@ -16,7 +16,7 @@ module.exports = class {
|
|||||||
const dataFiles = fs.readdirSync(path.join(path.dirname(__dirname), '../datastore')).filter(f => f.endsWith('.json'));
|
const dataFiles = fs.readdirSync(path.join(path.dirname(__dirname), '../datastore')).filter(f => f.endsWith('.json'));
|
||||||
for (const file of dataFiles) {
|
for (const file of dataFiles) {
|
||||||
try {
|
try {
|
||||||
const json = require(`../../../datastore/${file}`);
|
const json = require(`../../datastore/${file}`);
|
||||||
this.map.set(json.guild.id, json);
|
this.map.set(json.guild.id, json);
|
||||||
//console.log('[LOADED] ' + file + " (" + json.guild.id + ")");
|
//console.log('[LOADED] ' + file + " (" + json.guild.id + ")");
|
||||||
//console.log(JSON.stringify(json, null, 4));
|
//console.log(JSON.stringify(json, null, 4));
|
||||||
|
Loading…
Reference in New Issue
Block a user