mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-23 03:13:20 +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.config = require('../config.js');
|
||||||
this.messages = require('./messages.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) {
|
for (const file of commandFiles) {
|
||||||
const command = require(`./commands/${file}`);
|
const command = require(`./commands/${file}`);
|
||||||
command.uses = 0;
|
command.uses = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user