Fixed wrong directory

This commit is contained in:
Christer Warén 2020-04-02 10:07:27 +03:00
parent f300d9c0df
commit 50a2e49b54
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -32,6 +32,6 @@ module.exports = {
.then(res => res.json());
}, 3600000);
require(`./emojis.js`).execute(client);
require(`../emojis.js`).execute(client);
}
}