diff --git a/client/class.js b/client/class.js index c5ba47a..cecea16 100644 --- a/client/class.js +++ b/client/class.js @@ -23,7 +23,7 @@ module.exports = class extends Client { this.config = require('../config.js'); this.messages = require('./messages.js'); - const commandFiles = fs.readdirSync('./commands/').filter(f => f.endsWith('.js')); + const commandFiles = fs.readdirSync('./client/commands/').filter(f => f.endsWith('.js')); for (const file of commandFiles) { const command = require(`./commands/${file}`); command.uses = 0;