Fix deploy command

This commit is contained in:
Skylar Grant 2023-01-23 01:38:49 -05:00
parent 52f2206b55
commit 86c4819f15

View File

@ -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());
}