Fix deploy command
This commit is contained in:
parent
52f2206b55
commit
86c4819f15
@ -12,7 +12,7 @@ const commands = [];
|
||||
const commandFiles = fs.readdirSync('./slash-commands').filter(file => file.endsWith('.js'));
|
||||
|
||||
for (const file of commandFiles) {
|
||||
const command = require(`./slash-commands/${file}`);
|
||||
const command = require(`../slash-commands/${file}`);
|
||||
if (command.data != undefined) {
|
||||
commands.push(command.data.toJSON());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user