diff --git a/client/class.js b/client/class.js index 544fe6b..636c713 100644 --- a/client/class.js +++ b/client/class.js @@ -20,7 +20,7 @@ module.exports = class extends Client { this.funcs.msToTime = require('./funcs/msToTime.js'); this.funcs.statisticsUpdate = require('./funcs/statisticsUpdate.js'); - this.config = require('./config.js'); + this.config = require('../config.js'); this.messages = require('./messages.js'); const commandFiles = fs.readdirSync(path.join('commands')).filter(f => f.endsWith('.js')); diff --git a/client/events/ready.js b/client/events/ready.js index 3296d68..1ca6f8e 100644 --- a/client/events/ready.js +++ b/client/events/ready.js @@ -32,6 +32,6 @@ module.exports = { .then(res => res.json()); }, 3600000); - require(`./emojis.js`).execute(client); + require(`../emojis.js`).execute(client); } } \ No newline at end of file