From 50a2e49b54e5d0ebfbfa6a4b5f01cbacab6728c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Thu, 2 Apr 2020 10:07:27 +0300 Subject: [PATCH] Fixed wrong directory --- client/class.js | 2 +- client/events/ready.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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