mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-11-09 23:40:18 +00:00
Fixed wrong directory (part 3)
This commit is contained in:
parent
a7871e0026
commit
c3eca7267b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user